Skip to content

Commit

Permalink
add logs for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bpvstaty366 committed Feb 29, 2024
1 parent 4e2f8f8 commit cf9a70a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ function getResults(){
failures=$(cat firebolt-apis/report/report.json | jq -r '.stats.failures')
echo "If failures more than 0, fail the job"
echo "Failures=$failures"
if [ "$failures" -gt 0 ]; then
exit 1;
else
if [ "$failures" -eq 0 ]; then
echo "No failures detected."
else
exit 1
fi
}

Expand Down

0 comments on commit cf9a70a

Please sign in to comment.