From 4ab1a63d19636f55179b229e7db07ccf9482b14b Mon Sep 17 00:00:00 2001 From: Daniel Price Date: Mon, 2 Dec 2024 13:51:39 +1100 Subject: [PATCH] (testsuite) third attempt at printing the log from test run --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79b49fd..43084c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,10 +46,5 @@ jobs: - name: Run test programs, pressing enter to all prompts if: matrix.os == 'ubuntu-latest' run: | - yes "" | make check - - # Run tests - - name: show the test logs - if: matrix.os == 'ubuntu-latest' - run: | - cat test/C/test-suite.log \ No newline at end of file + yes "" | make check || { echo "Tests failed. Printing test-suite.log..."; cat test/C/test-suite.log; exit 1; } + \ No newline at end of file