diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index f48459e..b5982f0 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -47,6 +47,4 @@ jobs: uses: EnricoMi/publish-unit-test-result-action@v2 if: always() with: - files: | - ${{github.workspace}}/build/test_report.xml - ${{github.workspace}}/build/**/report_*.xml + files: ${{github.workspace}}/build/test_report*.xml diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3641e6c..efa4671 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -30,7 +30,7 @@ target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20) add_test( NAME ${TARGET} - COMMAND ${TARGET} --gtest_output=xml:report_${TARGET}.xml + COMMAND ${TARGET} --gtest_output=xml:../test_report_${TARGET}.xml ) if (NOT ${STANDALONE_BUILD}) add_dependencies(check ${TARGET})