From 662e17afd64ad32be25fdf012074fe1b5bc6eaea Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sat, 6 Nov 2021 19:19:42 +0000 Subject: [PATCH] Keep the tests output on failure for a cmake build too --- .github/workflows/cmake.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b72c3fd..62059aa 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -66,3 +66,12 @@ jobs: # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more # detail run: ctest -C $BUILD_TYPE + + - if: ${{ failure() }} + name: Upload test data + uses: actions/upload-artifact@v2 + with: + name: tests-out + path: + - tests + - build/Testing