Skip to content

Commit 697888f

Browse files
committed
Add alls-green CI job to check if all test jobs passed
1 parent b70c2df commit 697888f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,18 @@ jobs:
112112
if: matrix.PYTHON_VERSION == '3.8'
113113
shell: bash -el {0}
114114
run: coveralls
115+
116+
check:
117+
name: 'Check job status'
118+
if: always()
119+
120+
needs:
121+
- test
122+
123+
runs-on: ubuntu-latest
124+
125+
steps:
126+
- name: Determine if all required jobs succeeded
127+
uses: re-actors/alls-green@release/v1
128+
with:
129+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)