Skip to content

Commit

Permalink
#22706 Fix on checking for test failures and errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina authored Aug 31, 2023
1 parent c86f58e commit bddd6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cli-cicd-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
FAILURES=$(find . -name TEST-*.xml | xargs grep '<failure' | wc -l)
ERRORS=$(find . -name TEST-*.xml | xargs grep '<error' | wc -l)
if [[ $FAILURES -gt 0 || $ERRORS -gt 0 ]]; then
if [[ $FAILURES -eq 0 && $ERRORS -eq 0 ]]; then
OUTPUT_STATUS="PASSED"
else
OUTPUT_STATUS="FAILED"
Expand Down

0 comments on commit bddd6d1

Please sign in to comment.