Keep the tests output on failure for a cmake build too

This commit is contained in:
Hamish Coleman 2021-11-06 19:19:42 +00:00
parent 75a205ec69
commit 662e17afd6

View File

@ -66,3 +66,12 @@ jobs:
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more
# detail # detail
run: ctest -C $BUILD_TYPE run: ctest -C $BUILD_TYPE
- if: ${{ failure() }}
name: Upload test data
uses: actions/upload-artifact@v2
with:
name: tests-out
path:
- tests
- build/Testing