Skip to content

Commit

Permalink
Force failure if there is any unit test failed (#2113)
Browse files Browse the repository at this point in the history
Co-authored-by: Gaston Ponti <ponti@clabs.co>
  • Loading branch information
jcortejoso and gastonponti authored May 22, 2023
1 parent 96b7e75 commit 21d8283
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ jobs:
- name: Upload coverage to codecov
if: always()
uses: codecov/codecov-action@v3
- name: Fail if there are failed tests
if: steps.unit-tests-summary.outputs.failed > 0
run: |
echo "There are failed tests"
exit 1
race:
name: Data race detector
Expand Down

0 comments on commit 21d8283

Please sign in to comment.