# HG changeset patch # User Markus Mützel # Date 1683020304 -7200 # Node ID bc46d7c2768f29eed1ba048634520d4f036cf5c4 # Parent 217a35f2a5892624ce14d0752328ae74f8d10b00 GitHub-CI (macos): Fail job if test suite doesn't pass. * .github/workflow/make.yaml (macos): Fail job for any failure or regression in the test suite (instead of just emitting a warning). diff -r 217a35f2a589 -r bc46d7c2768f .github/workflows/make.yaml --- a/.github/workflows/make.yaml Tue May 02 11:32:58 2023 +0200 +++ b/.github/workflows/make.yaml Tue May 02 11:38:24 2023 +0200 @@ -342,8 +342,8 @@ - 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" + [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || exit 1 + [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || exit 1 echo Finished analyzing test suite results. - name: test history file creation