From 809c13bbcb2e98c517b41e390f2a04a5bf9bc039 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Sun, 8 Nov 2026 17:22:25 +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/ci.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/required-checks.yml b/.github/required-checks.yml index aa8732e..2243e7b 100644 --- a/.github/required-checks.yml +++ b/.github/required-checks.yml @@ -7,4 +7,5 @@ checks: - configlet / configlet - i18n / completeness + - Tests - Validate required checks diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9914cef..ea2aaf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,3 +21,18 @@ jobs: - name: Run exercism/powershell ci (runs tests) for all exercises shell: pwsh run: bin/run-tests.ps1 + + tests: + name: Tests + needs: ci + if: always() + runs-on: ubuntu-26.04 + steps: + - name: Check that every configuration passed + env: + RESULT: ${{ needs.ci.result }} + run: | + if [[ "$RESULT" != "success" ]]; then + echo "The exercise tests failed on at least one configuration." + exit 1 + fi