Skip to content

Commit

Permalink
work on return code
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Nov 20, 2024
1 parent e7089ee commit 0d0875d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
- name: check status
run: |
cd $SCRATCH
./cs.status.${GITHUB_RUN_ID}${{ inputs.compiler }} --expected-fails-file $GITHUB_WORKSPACE/cime_config/testfiles/ExpectedTestFails.xml --fails-only | grep FAIL | grep -v FAILURE
./cs.status.${GITHUB_RUN_ID}${{ inputs.compiler }} --expected-fails-file $GITHUB_WORKSPACE/cime_config/testfiles/ExpectedTestFails.xml | grep FAIL | grep -v FAILURE
retval=$?
if [ $retval -eq 0 ]; then
echo "Error"
exit 1
fi
exit 0

0 comments on commit 0d0875d

Please sign in to comment.