From 75d4402f32e09b37a76b5fc7325482906c402275 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sun, 15 Dec 2024 12:56:20 +0100 Subject: [PATCH] Add alls-green job (#2544) --- .github/workflows/test-suite.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 7646f10c9..64a0b0a66 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -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: @@ -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) }}