commit 9db427391bb5dc5b2722345cb91edbba65c10623
parent eec2b5e06bdb01d20f1a1125074a379e0b154d80
Author: jvoisin <julien.voisin@dustri.org>
Date: Fri, 13 Mar 2026 01:05:46 +0100
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
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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