commit f3c0bfdb96ec00aaefdb75024059aa33895726c5 parent bcf82d51e6a5c3b3145afe8bacfa03b92d5b3f5d Author: jvoisin <julien.voisin@dustri.org> Date: Thu, 28 Dec 2023 10:13:53 +0100 Make the CI fail when the testsuite fails Diffstat:
M | .github/workflows/testsuite.yaml | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml @@ -37,7 +37,9 @@ jobs: - name: Build without native chk, and run the testsuite if: ${{ matrix.use_native_chk == false }} shell: bash - run: make -C tests clean gcc run + run: | + make -C tests clean gcc run > ./results.txt + grep -zvq 'FAIL' ./results.txt clang: runs-on: ubuntu-latest @@ -70,4 +72,6 @@ jobs: - name: Building and running without native chk if: ${{ matrix.use_native_chk == false }} shell: bash - run: make -C tests clean clang run + run: | + make -C tests clean clang run > ./results.txt + grep -zvq 'FAIL' ./results.txt