[ci] Fix failure detection when not all tests failed
This commit is contained in:
parent
07e2b10d23
commit
287da35a33
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue