Skip to content

Commit 71fbb9c

Browse files
committed
Print unit-test logs when failing on git.
1 parent e08f728 commit 71fbb9c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ jobs:
5252
5353
- name: "Run Unit Tests"
5454
run: "ctest --test-dir ./build"
55+
56+
- name: "Print test log on failure"
57+
if: "failure()"
58+
run: "cat ./build/Testing/Temporary/LastTest.log"

0 commit comments

Comments
 (0)