mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
fix(ci): fix additional gut test success condition
Was missing `grep -q`, also adds an additional check for when no tests were run whatsoever.
This commit is contained in:
parent
71df1e71bd
commit
fc03595e29
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -308,7 +308,7 @@ jobs:
|
|||
# This step often passes when it shouldn't, due to GUT not failing on script errors
|
||||
# (see: https://github.com/bitwes/Gut/issues/210). Therefore, we check the output
|
||||
# for expected (and unexpected) strings.
|
||||
if 'SCRIPT_ERROR:' output.log; then
|
||||
if grep -q 'SCRIPT_ERROR:' output.log || grep -q 'Tests none' output.log; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue