File tree Expand file tree Collapse file tree 16 files changed +72
-220
lines changed Expand file tree Collapse file tree 16 files changed +72
-220
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- push :
7- # Run once a day
8- schedule :
9- - cron : ' 0 0 * * *'
5+ workflow_call :
106
117jobs :
128 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
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+ pr-ci-all-required :
17+ if : always()
18+ needs :
19+ - tests
20+ - static-analysis
21+ - install-tests
22+ runs-on : ubuntu-22.04
23+ steps :
24+ - name : Verify all required jobs passed
25+ uses : re-actors/alls-green@release/v1
26+ with :
27+ 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
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments