diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 94aa472..9208abb 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -68,19 +68,19 @@ jobs: install_system_dependencies: true - name: Install dependencies and build unit test - run: conan create . ${{ needs.conan-recipe-version.outputs.recipe_id_full }} -o enable_testing=True -s build_type=Release --build=missing --update -g GitHubActionsRunEnv -g GitHubActionsBuildEnv + run: conan build . ${{ needs.conan-recipe-version.outputs.recipe_id_full }} -o enable_testing=True -s build_type=Release --build=missing --update -g GitHubActionsRunEnv -g GitHubActionsBuildEnv - name: Run Unit Test id: run-test - run: ctest --output-junit engine_test.xml - working-directory: build/Release/ + run: ctest --output-junit unit_tests_results.xml + working-directory: build/Release/tests - name: Publish Unit Test Results id: test-results - uses: EnricoMi/publish-unit-test-result-action@v1 + uses: EnricoMi/publish-unit-test-result-action@v2 if: ${{ always() }} with: - files: "**/*.xml" + files: build/Release/tests/unit_tests_results.xml - name: Conclusion run: echo "Conclusion is ${{ fromJSON( steps.test-results.outputs.json ).conclusion }}"