From 73dc6960ad5d1846aae70da83f5cde93f03928dd Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 21 Mar 2024 20:23:55 +0200 Subject: [PATCH] Show ctest output on failure in CI --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0bc485..822c665 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,7 +54,7 @@ jobs: CC: ${{matrix.cc}} run: cmake . - run: cmake --build . - - run: ctest + - run: ctest --output-on-failure valgrind: runs-on: ubuntu-latest @@ -63,4 +63,4 @@ jobs: - run: sudo apt update && sudo apt install valgrind - run: cmake -DJANSSON_TEST_WITH_VALGRIND=ON . - run: cmake --build . - - run: ctest \ No newline at end of file + - run: ctest --output-on-failure