[ci] Fix failure detection when not all tests failed
This commit is contained in:
parent
07e2b10d23
commit
287da35a33
@ -22,7 +22,7 @@ after_script:
|
||||
## Print a basic summary in unix style
|
||||
- "echo 'Summary:'; cat results | sort | uniq -c"
|
||||
## This will detect whether the build should pass or fail
|
||||
- "grep -v -q 'fail' results"
|
||||
- "test `grep -c 'fail' results` -eq 0"
|
||||
|
||||
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user