diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbeb48cd..ac0ec665 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-latest] ruby-version: ['3.2', '3.3', '3.4'] steps: @@ -34,3 +34,19 @@ jobs: with: files: ./coverage/.resultset.json fail_ci_if_error: false + + # Summary job that requires all matrix tests to pass + # This is what branch protection will check + ci-success: + name: CI Success + needs: test + runs-on: ubuntu-latest + if: always() + steps: + - name: Check test matrix success + run: | + if [ "${{ needs.test.result }}" != "success" ]; then + echo "Test matrix failed" + exit 1 + fi + echo "All tests passed!"