Skip to content

Commit 75d4402

Browse files
authored
Add alls-green job (#2544)
1 parent 4156ccb commit 75d4402

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/test-suite.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
tests:
1212
name: "Python ${{ matrix.python-version }} ${{ matrix.os }}"
1313
runs-on: "${{ matrix.os }}"
14-
timeout-minutes: 30
14+
timeout-minutes: 10
1515
strategy:
1616
fail-fast: false
1717
matrix:
@@ -38,3 +38,14 @@ jobs:
3838
- name: "Enforce coverage"
3939
run: "scripts/coverage"
4040
shell: bash
41+
42+
# https://github.com/marketplace/actions/alls-green#why
43+
check:
44+
if: always()
45+
needs: [tests]
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Decide whether the needed jobs succeeded or failed
49+
uses: re-actors/alls-green@release/v1
50+
with:
51+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)