diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e703577ef..c0f247621 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,6 +126,22 @@ jobs: - name: Run tests run: ./scripts/test + test_matrix: + name: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && 'test matrix' || 'test matrix (not run)' }} + if: ${{ always() && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) }} + needs: test + runs-on: ubuntu-latest + permissions: {} + steps: + - name: Tests (all) + env: + TEST_RESULT: ${{ needs.test.result }} + run: | + if [ "$TEST_RESULT" != "success" ]; then + echo "::error::Node.js test matrix result: $TEST_RESULT" + exit 1 + fi + examples: timeout-minutes: 10 name: examples