Skip to content

Commit

Permalink
Actually fail the pipeline when tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed Feb 4, 2021
1 parent 10db38c commit e666a21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ jobs:
run: |
sudo pear install -f package.xml
pear version
pear run-tests -qr tests/ || cat run-tests.log
for i in `find tests/ -name '*.out'`; do echo "$i"; cat "$i"; done
pear run-tests -qr tests/ || { cat run-tests.log; for i in `find tests/ -name '*.out'`; do echo "$i"; cat "$i"; done; exit 1; }

0 comments on commit e666a21

Please sign in to comment.