Skip to content

Commit

Permalink
Show ctest output on failure in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Mar 21, 2024
1 parent 88375fb commit 73dc696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
- run: ctest --output-on-failure

0 comments on commit 73dc696

Please sign in to comment.