diff --git a/.github/workflows/reusable.yaml b/.github/workflows/reusable.yaml index f13f7c6b7..c0bf41cf9 100644 --- a/.github/workflows/reusable.yaml +++ b/.github/workflows/reusable.yaml @@ -28,7 +28,8 @@ 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 + ./cs.status.${GITHUB_RUN_ID}${{ inputs.compiler }} --expected-fails-file $GITHUB_WORKSPACE/cime_config/testfiles/ExpectedTestFails.xml --fails-only | grep FAIL | grep -v FAILURE if [ $? == 0 ]; then return -1 - fi \ No newline at end of file + fi + return 0 \ No newline at end of file