diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 1987e6a..2422039 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -38,10 +38,13 @@ jobs: working-directory: ${{github.workspace}}/build # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest --extra-verbose --output-junit test_report.xml -C ${{env.BUILD_TYPE}} + run: ctest --extra-verbose --output-junit test_report.xml --output-on-failure -C ${{env.BUILD_TYPE}} - name: Test run: ls -lr ${{github.workspace}}/build - - name: Publish Test Summary Results - run: npx github-actions-ctrf ${{github.workspace}}/build/test_report.xml + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + if: always() + with: + files: ${{github.workspace}}/build/test_report.xml