File tree Expand file tree Collapse file tree 4 files changed +46
-7
lines changed Expand file tree Collapse file tree 4 files changed +46
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Automerge
2+
3+ on :
4+ pull_request :
5+ push :
6+ schedule :
7+ - cron : ' 0 0 * * *'
8+ workflow_dispatch :
9+
10+ jobs :
11+
12+
13+ Tests :
14+ if : ${{ !(github.event_name != 'pull_request' && github.actor == 'dependabot[bot]') }}
15+ uses : ./.github/workflows/Tests.yml
16+
17+ Suite :
18+ if : ${{ !(github.event_name != 'pull_request' && github.actor == 'dependabot[bot]') }}
19+ uses : ./.github/workflows/Suite.yml
20+
21+ Automerge :
22+ needs :
23+ - Tests
24+ - Suite
25+ if : github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
26+ runs-on : ubuntu-latest
27+ name : Automerge dependabot PRs
28+ permissions :
29+ contents : write
30+
31+ steps :
32+
33+ - name : Auto-merge Dependabot PR
34+ run : GITHUB_TOKEN='${{ github.token }}' gh pr merge '${{ github.event.pull_request.html_url }}' --squash
Original file line number Diff line number Diff line change 66 - cron : ' 0 3 * * *'
77
88jobs :
9+
910 generate-results-page :
11+ if : ${{ !(github.actor == 'dependabot[bot]') }}
1012 runs-on : ubuntu-latest
1113 steps :
1214 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1+ name : Full Test Suite
2+
13on :
2- pull_request :
3- push :
4+ workflow_call :
45 schedule :
56 - cron : ' 0 */4 * * *'
67
7- name : Full Test Suite
8-
98env :
109 timeout : 7200
1110
Original file line number Diff line number Diff line change 1- name : CI tests
1+ name : CI Tests
22
3- on : [push, pull_request]
3+ on :
4+ workflow_call :
45
56jobs :
67
78 Run-tests :
89 runs-on : ubuntu-latest
910 strategy :
1011 matrix :
11- python-version : ['3.6', '3.7', '3.8']
12+ python-version :
13+ - ' 3.6'
14+ - ' 3.7'
15+ - ' 3.8'
1216 steps :
1317
1418 - uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments