Skip to content

Commit

Permalink
Try publish test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
vvromanov committed Dec 2, 2024
1 parent eefc046 commit c8f66f4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c8f66f4

Please sign in to comment.