File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : SQLMesh Commit
2+
3+ on :
4+ # For local testing
5+ workflow_dispatch :
6+ inputs :
7+ commit_sha :
8+ description : Commit SHA or branch from SQLMesh repo
9+ default : ' main'
10+ required : true
11+
12+ # To be triggered from CircleCI via the GitHub API
13+ repository_dispatch :
14+ types : ["commit"]
15+
16+ jobs :
17+ tests :
18+ name : Run Tests
19+ runs-on : ubuntu-latest
20+ timeout-minutes : 30
21+ permissions :
22+ contents : " read"
23+ concurrency :
24+ group : ${{ github.workflow }}-${{ github.ref_name }}-tests
25+ cancel-in-progress : true
26+ steps :
27+ - name : Checkout
28+ uses : actions/checkout@v4
29+ - name : Setup Base
30+ uses : ./.github/actions/setup-base
31+ - name : Checkout upstream SQLMesh
32+ uses : actions/checkout@v4
33+ with :
34+ repository : TobikoData/sqlmesh
35+ ref : ${{ github.event.client_payload.commit_sha || inputs.commit_sha || 'main' }}
36+ path : _sqlmesh_upstream
37+ - name : Install upstream SQLMesh into local env
38+ run : |
39+ cd _sqlmesh_upstream
40+ pip install -e .
41+ - name : Run Unit Tests
42+ run : make test
43+ - name : Run Integration Tests
44+ run : make integration-test
You can’t perform that action at this time.
0 commit comments