From 9db427391bb5dc5b2722345cb91edbba65c10623 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 13 Mar 2026 01:05:46 +0100 Subject: Use pipefail when running test CI Otherwise a non-zero exit code would not cause the job to fail Ref https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#exit-codes-and-error-action-preference Co-Authored-By: Sertonix --- .github/workflows/testsuite.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index 68b2307..8de273c 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml @@ -34,6 +34,7 @@ jobs: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} 100 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} 100 - name: Build and run the testsuite + shell: bash run : make --silent -C tests clean gcc run | tee ./results.txt - name: Check the testsuite's output shell: bash @@ -68,6 +69,7 @@ jobs: sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 - name: Build and run the testsuite + shell: bash run : make --silent -C tests clean clang run | tee ./results.txt - name: Check the testsuite's output shell: bash -- cgit v1.3