File tree Expand file tree Collapse file tree 18 files changed +96
-229
lines changed Expand file tree Collapse file tree 18 files changed +96
-229
lines changed Original file line number Diff line number Diff line change 1- # This workflow runs static analysis checks on pull requests .
1+ # This workflow runs static analysis checks.
22name : static analysis
33
44on :
5- pull_request :
6- branches : [ master ]
7- push :
8- # Run once a day
9- schedule :
10- - cron : ' 0 0 * * *'
5+ workflow_call :
116
127jobs :
138 analysis :
Original file line number Diff line number Diff line change 1- # This workflow runs tests on pull requests .
1+ # This workflow runs tests.
22name : tests
33
44on :
5- pull_request :
6- push :
7- # Run once a day
8- schedule :
9- - cron : ' 0 0 * * *'
5+ workflow_call :
106
117jobs :
128 tests :
Original file line number Diff line number Diff line change 1+ # This workflow runs every weekday at 15:00 UTC (8AM PDT)
2+ name : Daily CI
3+
4+ on :
5+ schedule :
6+ - cron : " 00 15 * * 1-5"
7+
8+ jobs :
9+ static-analysis :
10+ # Don't run the cron builds on forks
11+ if : github.event_name != 'schedule' || github.repository_owner == 'aws'
12+ name : Static Analysis
13+ uses : ./.github/workflows/ci_static-analysis.yaml
14+ tests :
15+ # Don't run the cron builds on forks
16+ if : github.event_name != 'schedule' || github.repository_owner == 'aws'
17+ name : Run Tests
18+ uses : ./.github/workflows/ci_tests.yaml
19+ install-tests :
20+ # Don't run the cron builds on forks
21+ if : github.event_name != 'schedule' || github.repository_owner == 'aws'
22+ name : Installation Tests
23+ uses : ./.github/workflows/install.yaml
24+ integ-tests :
25+ # Don't run the cron builds on forks
26+ if : github.event_name != 'schedule' || github.repository_owner == 'aws'
27+ name : Integ Tests
28+ uses : ./.github/workflows/python-integration.yml
29+ examples :
30+ # Don't run the cron builds on forks
31+ if : github.event_name != 'schedule' || github.repository_owner == 'aws'
32+ name : Example Tests
33+ uses : ./.github/workflows/python-examples.yml
Original file line number Diff line number Diff line change 1- # This workflow runs tests on pull requests .
1+ # This workflow runs installation tests .
22name : venv-tests
33
44on :
5- pull_request :
6- push :
7- # Run once a day
8- schedule :
9- - cron : ' 0 0 * * *'
5+ workflow_call :
106
117jobs :
128 tests :
Original file line number Diff line number Diff line change 1+ name : Pull Request Checks
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ static-analysis :
8+ name : Static Analysis
9+ uses : ./.github/workflows/ci_static-analysis.yaml
10+ tests :
11+ name : Run Tests
12+ uses : ./.github/workflows/ci_tests.yaml
13+ install-tests :
14+ name : Installation Tests
15+ uses : ./.github/workflows/install.yaml
16+ integration-tests :
17+ name : Integ Tests
18+ uses : ./.github/workflows/python-integration.yml
19+ examples :
20+ name : Example Tests
21+ uses : ./.github/workflows/python-examples.yml
22+ pr-ci-all-required :
23+ if : always()
24+ needs :
25+ - tests
26+ - static-analysis
27+ - install-tests
28+ runs-on : ubuntu-22.04
29+ steps :
30+ - name : Verify all required jobs passed
31+ uses : re-actors/alls-green@release/v1
32+ with :
33+ jobs : ${{ toJSON(needs) }}
Original file line number Diff line number Diff line change 1+ name : Pull Request Checks
2+
3+ on :
4+ push :
5+ branches : master
6+
7+ jobs :
8+ static-analysis :
9+ name : Static Analysis
10+ uses : ./.github/workflows/ci_static-analysis.yaml
11+ tests :
12+ name : Run Tests
13+ uses : ./.github/workflows/ci_tests.yaml
14+ install-tests :
15+ name : Installation Tests
16+ uses : ./.github/workflows/install.yaml
17+ integ-tests :
18+ name : Integ Tests
19+ uses : ./.github/workflows/python-integration.yml
20+ examples :
21+ name : Example Tests
22+ uses : ./.github/workflows/python-examples.yml
Original file line number Diff line number Diff line change 11name : Python Examples Tests
22
33on :
4- push :
5- branches : [ master ]
6- pull_request :
7- branches : [ master ]
4+ workflow_call :
85
96jobs :
107 examples :
Original file line number Diff line number Diff line change 11name : Python Integration Tests
22
33on :
4- push :
5- branches : [ master ]
6- pull_request :
7- branches : [ master ]
4+ workflow_call :
85
96jobs :
107 integration :
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments