Skip to content

Commit 2af713c

Browse files
committed
Upload ctest log on failure
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
1 parent 8c2d2ca commit 2af713c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,10 @@ jobs:
9595
run: |
9696
cd tomviz-build
9797
TOMVIZ_TEST_PYTHON_EXECUTABLE=$(which python3) ctest --output-on-failure
98+
99+
- name: Upload CTest Log (On Failure Only)
100+
if: ${{ failure() }}
101+
uses: actions/upload-artifact@v4
102+
with:
103+
name: TomvizCTestLog.log
104+
path: tomviz-build/Testing/Temporary/LastTest.log

0 commit comments

Comments
 (0)