ci: add single step to validate if all tests passed (#11763)

This commit is contained in:
Piotr Kuczynski 2025-11-12 10:51:39 +01:00 committed by GitHub
parent 5d02f06fcb
commit 52a96ad68c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
name: Commit Validation
name: Tests
on:
pull_request:
@ -31,6 +31,7 @@ jobs:
src-or-tests: &src-or-tests
- *src
- .github/workflows/test/**/*
- .github/workflows/test*.yml
- .mocharc.json
- .nvmrc
- .nycrc.json
@ -111,3 +112,16 @@ jobs:
- uses: coverallsapp/github-action@v2
with:
parallel-finished: true
all-passed:
runs-on: ubuntu-latest
if: always()
needs:
- build
- coverage
- docs
- formatting
- tests-linux
- tests-windows
steps:
- run: exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }}