# HG changeset patch # User Markus Mützel # Date 1646476023 -3600 # Node ID f5587d651bc7b45f5ba293a4c3cf5ba933cd60e6 # Parent c3d7c1ede44cb80adaa6621769a9f7a5e3de7e53 GitHub-CI (windows): Fail CI if test suite on MINGW64 doesn't pass. * .github/workflows/make.yaml (windows): All tests on Windows 64-bit usually pass. Indicate an error in the CI result. diff -r c3d7c1ede44c -r f5587d651bc7 .github/workflows/make.yaml --- a/.github/workflows/make.yaml Thu Mar 03 16:15:06 2022 -0500 +++ b/.github/workflows/make.yaml Sat Mar 05 11:27:03 2022 +0100 @@ -294,7 +294,7 @@ - name: analyze test suite results # Make sure the test summary lists 0 "FAIL"s and no "REGRESSION" - run: | + run: | [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || echo "::warning::At least one test failed" [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || echo "::warning::At least one regression in test suite" echo Finished analyzing test suite results. @@ -523,7 +523,11 @@ - name: analyze test suite results # Make sure the test summary lists 0 "FAIL"s and no "REGRESSION" - run: | - [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || echo "::warning::At least one test failed" - [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || echo "::warning::At least one regression in test suite" + env: + MSYSTEM: ${{ matrix.msystem }} + run: | + [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || \ + ( [[ $MSYSTEM = "MINGW64" ]] && exit 1 || echo "::warning::At least one test failed" ) + [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || \ + ( [[ $MSYSTEM = "MINGW64" ]] && exit 1 || echo "::warning::At least one regression in test suite" ) echo Finished analyzing test suite results.