Skip to content

Commit 2b2879e

Browse files
authored
Add output-on-failure to ctest command
1 parent 06f5ba3 commit 2b2879e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
- name: Test
222222
working-directory: ${{github.workspace}}/build
223223
run: |
224-
ctest -C ${{env.BUILD_TYPE}} --schedule-random -j2 -T memcheck > memcheck.out
224+
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --schedule-random -j2 -T memcheck > memcheck.out
225225
cat memcheck.out
226226
if tail -n 1 memcheck.out | grep -q "Memory checking results:"; then
227227
exit 0

0 commit comments

Comments
 (0)