Skip to content

Commit

Permalink
Add alls-green job (#2544)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Dec 15, 2024
1 parent 4156ccb commit 75d4402
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
tests:
name: "Python ${{ matrix.python-version }} ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
timeout-minutes: 30
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
Expand All @@ -38,3 +38,14 @@ jobs:
- name: "Enforce coverage"
run: "scripts/coverage"
shell: bash

# https://github.com/marketplace/actions/alls-green#why
check:
if: always()
needs: [tests]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit 75d4402

Please sign in to comment.