Change CI to look for any unexpected failures to fail the build.

This commit is contained in:
Philip Herron 2021-01-05 11:22:11 +00:00 committed by Philip Herron
parent c2cc8df0b5
commit af04ea2222
1 changed files with 2 additions and 1 deletions

View File

@ -49,4 +49,5 @@ jobs:
- name: Test
run: |
cd gccrs-build; \
make check-rust
make check-rust | tee results.log; \
if [ `grep "# of unexpected failures" results.log | wc -l` != "0" ]; then exit 1; fi