diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf2985f5..04cad6e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,8 @@ on: - master # Only run when PR is raised for master permissions: - pull-requests: write # for writting comment for coverage + checks: write # for publishing test results + pull-requests: write # for writting comment for coverage & test result # This ensures for a single PR one job is run in case of multiple runs concurrency: @@ -24,6 +25,13 @@ jobs: # Run Tests - name: Run Tests run: docker-compose -f "docker-compose.test.yml" up --build + # Publish Test results + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + if: always() + with: + files: | + ./temp/testresults/test-results.xml # Code Coverage - name: Code Coverage Report uses: irongut/CodeCoverageSummary@v1.3.0 @@ -42,4 +50,4 @@ jobs: if: github.event_name == 'pull_request' with: recreate: true - path: code-coverage-results.md + path: code-coverage-results.md \ No newline at end of file