From 47dcba2374c7bc9794178673dc416eb64a31efd7 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Sun, 8 Nov 2026 17:22:18 +0900 Subject: [PATCH] Add a summary job for Tests The exercise tests run as one job per version, 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/pr.ci.js.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/required-checks.yml b/.github/required-checks.yml index 4b380cf48d..cf24acfe3e 100644 --- a/.github/required-checks.yml +++ b/.github/required-checks.yml @@ -9,4 +9,5 @@ checks: - verify - configlet / configlet - i18n / completeness + - Tests - Validate required checks diff --git a/.github/workflows/pr.ci.js.yml b/.github/workflows/pr.ci.js.yml index 0ff7bbd27a..03ea5ee407 100644 --- a/.github/workflows/pr.ci.js.yml +++ b/.github/workflows/pr.ci.js.yml @@ -75,3 +75,18 @@ jobs: - name: Run exercism/javascript ci (runs tests) for changed/added exercises run: corepack pnpm node scripts/pr.mjs ${{ steps.changed-files.outputs.changed_files }} + + tests: + name: Tests + needs: ci + if: always() + runs-on: ubuntu-24.04 + steps: + - name: Check that every Node.js version passed + env: + RESULT: ${{ needs.ci.result }} + run: | + if [[ "$RESULT" != "success" ]]; then + echo "The exercise tests failed on at least one Node.js version." + exit 1 + fi