Skip to content

Commit

Permalink
Update functional-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Jul 18, 2024
1 parent 04fa2ad commit 6acd6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
failures=$(cat "$RESULTS_XML" | xq --xpath '//testsuite/@failures')
threshold=$(( (failures + errors) * 100 / (tests - skipped) ))
cat "$RESULTS_XML"
if [[ $threshold -gt 7 ]]; then
if [[ $threshold -gt 8 ]]; then
echo "${threshold}% of tests failed"
exit 1
else
Expand Down

0 comments on commit 6acd6e9

Please sign in to comment.