From d54408b963c1123053d4b2d82b8aaf2e7cea8838 Mon Sep 17 00:00:00 2001 From: Tim Hutton Date: Mon, 10 Jun 2024 01:00:59 +0100 Subject: [PATCH] Add ctest output_on_failure option to macOS CI --- .github/workflows/build_macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index b70ee14f..3f4f54cf 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -63,11 +63,11 @@ jobs: # Run the full suite of tests since OpenCL is available shell: bash working-directory: ${{runner.workspace}}/build - run: ctest -C ${{matrix.build_type}} + run: ctest --output-on-failure -C ${{matrix.build_type}} - name: Test (without OpenCL) if: matrix.build_type == 'Debug' # Run a restricted suite of tests (OpenCL is available but the tests are slow on Debug) shell: bash working-directory: ${{runner.workspace}}/build - run: ctest -R rdy -C ${{matrix.build_type}} + run: ctest --output-on-failure -R rdy -C ${{matrix.build_type}}