diff --git a/.github/workflows/fleximod_test.yaml b/.github/workflows/fleximod_test.yaml index 7b87a7e2b..8e4fa827d 100644 --- a/.github/workflows/fleximod_test.yaml +++ b/.github/workflows/fleximod_test.yaml @@ -20,8 +20,10 @@ jobs: echo "Update complete, checking status" echo $GITHUB_WORKSPACE/bin/git-fleximod status | tee status.out - grep 'testfails = 0' status.out - + grep testfails status.out + if [[ $? -eq 0 ]]; then + exit 1 + fi # - name: Setup tmate session # if: ${{ failure() }} # uses: mxschmitt/action-tmate@v3