Mercurial > octave
changeset 32070:bc46d7c2768f stable
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).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 02 May 2023 11:38:24 +0200 |
parents | 217a35f2a589 |
children | 31a68f3ced07 f7206b6577c2 |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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