Skip to content

Commit

Permalink
fix(ci): exit 1 if reached 5 test tries
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 30, 2020
1 parent 41eab11 commit f4bd0de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/run-vader-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ done
if [ "$tries" -gt 1 ]; then
echo
echo "Tried to run tests $tries times"

if [ "$tries" -eq 5 ]; then
exit 1
fi
fi

rm "$run_file"
Expand Down

0 comments on commit f4bd0de

Please sign in to comment.