diff --git a/.github/workflows/linux-bazel-builds.yml b/.github/workflows/linux-bazel-builds.yml index 92a1c5ba..4c9ca2fd 100644 --- a/.github/workflows/linux-bazel-builds.yml +++ b/.github/workflows/linux-bazel-builds.yml @@ -2,6 +2,10 @@ name: Linux Builds (Bazel) on: [push, pull_request] +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + jobs: build_and_test_ubuntu: name: Linux Ubuntu 22.04 Bazel build diff --git a/.github/workflows/linux-meson-builds.yml b/.github/workflows/linux-meson-builds.yml index e48dea9d..d0060eb4 100644 --- a/.github/workflows/linux-meson-builds.yml +++ b/.github/workflows/linux-meson-builds.yml @@ -2,6 +2,10 @@ name: Linux Builds (Meson) on: [push, pull_request] +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + jobs: build: name: meson ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}} diff --git a/.github/workflows/linux-other-builds.yml b/.github/workflows/linux-other-builds.yml index 6095f24b..ddd77ddd 100644 --- a/.github/workflows/linux-other-builds.yml +++ b/.github/workflows/linux-other-builds.yml @@ -5,6 +5,10 @@ name: Linux Builds (Complex) on: [push, pull_request] +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + jobs: build: name: ${{matrix.build_description}}, ${{matrix.cxx}}, C++${{matrix.std}} ${{matrix.build_type}} @@ -90,7 +94,7 @@ jobs: run: cmake --build build - name: Test - run: ctest --test-dir build -j --output-on-failure + run: ctest --test-dir build -j clang-tidy: name: clang-tidy diff --git a/.github/workflows/linux-simple-builds.yml b/.github/workflows/linux-simple-builds.yml index 15db5cf7..701fc271 100644 --- a/.github/workflows/linux-simple-builds.yml +++ b/.github/workflows/linux-simple-builds.yml @@ -2,6 +2,10 @@ name: Linux Builds (Basic) on: [push, pull_request] +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + jobs: build: name: ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}} @@ -102,4 +106,4 @@ jobs: run: cmake --build build - name: Test - run: ctest --test-dir build -j --output-on-failure + run: ctest --test-dir build -j diff --git a/.github/workflows/mac-builds.yml b/.github/workflows/mac-builds.yml index c9a0dad7..a22217a2 100644 --- a/.github/workflows/mac-builds.yml +++ b/.github/workflows/mac-builds.yml @@ -2,6 +2,10 @@ name: Mac Builds on: [push, pull_request] +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + jobs: build: runs-on: ${{matrix.image}} @@ -27,4 +31,4 @@ jobs: run: cmake --build build - name: Test - run: ctest --test-dir build -j --output-on-failure + run: ctest --test-dir build -j diff --git a/.github/workflows/windows-simple-builds.yml b/.github/workflows/windows-simple-builds.yml index e6d852b6..6105f01d 100644 --- a/.github/workflows/windows-simple-builds.yml +++ b/.github/workflows/windows-simple-builds.yml @@ -2,6 +2,10 @@ name: Windows Builds (Basic) on: [push, pull_request] +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + jobs: build: name: ${{matrix.os}}, ${{matrix.std}}, ${{matrix.build_type}}, ${{matrix.platform}} @@ -27,5 +31,5 @@ jobs: shell: cmd - name: Run tests - run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure + run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% shell: cmd