From bcdf308fbd7da4928e52bf5e5bb223b4f157ef43 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Sun, 8 Nov 2026 17:21:33 +0900 Subject: [PATCH] Add a summary job for Tests The exercise tests run as one job per configuration, named after it. The new Tests job waits for all of them and passes only if every one passed, so required-checks.yml can list one stable name. Co-Authored-By: Claude Opus 5.5 --- .github/required-checks.yml | 1 + .github/workflows/tests.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/required-checks.yml b/.github/required-checks.yml index 3a6a37dc..183496a0 100644 --- a/.github/required-checks.yml +++ b/.github/required-checks.yml @@ -11,4 +11,5 @@ checks: - ci - configlet / configlet - i18n / completeness + - Tests - Validate required checks diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 21c09754..6018efbd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,3 +24,18 @@ jobs: - name: Test exercises shell: bash run: ./bin/run-tests + + tests: + name: Tests + needs: test-exercises + if: always() + runs-on: ubuntu-26.04 + steps: + - name: Check that every configuration passed + env: + RESULT: ${{ needs.test-exercises.result }} + run: | + if [[ "$RESULT" != "success" ]]; then + echo "The exercise tests failed on at least one configuration." + exit 1 + fi