diff --git a/.github/workflows/template_test.yml b/.github/workflows/template_test.yml index e6e0649..80ed7cf 100644 --- a/.github/workflows/template_test.yml +++ b/.github/workflows/template_test.yml @@ -49,7 +49,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: develop @@ -232,13 +232,10 @@ jobs: # Optional: Publish Test Results for UI display - name: Publish Test Results - if: always() # Run even if tests fail - uses: dorny/test-reporter@v1 + if: success() || failure() # always run even if the previous step fails + uses: mikepenz/action-junit-report@v5 with: - name: JUnit Test Report - path: ${{ runner.temp }}/${{ inputs.testResultsFilename }} # Path to the JUnit XML file - reporter: java-junit # Specify the format - token: ${{ secrets.repo_test_1 }} + report_paths: ${{ runner.temp }}/${{ inputs.testResultsFilename }} - name: Docker Compose Down if: always() # Always run cleanup