mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
ci: add single step to validate if all tests passed (#11763)
This commit is contained in:
parent
5d02f06fcb
commit
52a96ad68c
@ -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 }}
|
||||
Loading…
x
Reference in New Issue
Block a user