From b3d1c0fc7093d36a6a70510cef00ad07eb43a2f8 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Sun, 8 Nov 2026 17:22:24 +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/test.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/required-checks.yml b/.github/required-checks.yml index 0decd15..9803371 100644 --- a/.github/required-checks.yml +++ b/.github/required-checks.yml @@ -8,4 +8,5 @@ checks: - check-formatting - configlet / configlet - i18n / completeness + - Tests - Validate required checks diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7dc822f..626f964 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,3 +31,18 @@ jobs: - name: test run: | bin/test-all + + tests: + name: Tests + needs: test + if: always() + runs-on: ubuntu-26.04 + steps: + - name: Check that every Lua version passed + env: + RESULT: ${{ needs.test.result }} + run: | + if [[ "$RESULT" != "success" ]]; then + echo "The exercise tests failed on at least one Lua version." + exit 1 + fi