From c203c86a425b2fe033529f2d712a3219d34b55ce Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Wed, 12 Jul 2023 16:18:00 +0200 Subject: [PATCH] CI: add `--output-on-failure` for coverage and valgrind tasks --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8670fcf0..144e1398 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -403,7 +403,7 @@ jobs: - name: Build run: ninja - name: Test - run: ctest -LE 'WillFail|Fuzzing' -T test + run: ctest --output-on-failure -LE 'WillFail|Fuzzing' -T test - name: lcov --capture run: lcov --capture --no-external --directory . --output-file coverage.info - name: lcov --remove @@ -437,7 +437,7 @@ jobs: - name: Build run: ninja - name: Memcheck - run: ctest -LE WillFail -T memcheck + run: ctest --output-on-failure -LE WillFail -T memcheck id: memcheck - name: MemoryChecker.*.log run: cat Testing/Temporary/MemoryChecker.*.log