diff --git a/.github/workflows/mvn_test.yml b/.github/workflows/mvn_test.yml index 8512a79..846f8e4 100644 --- a/.github/workflows/mvn_test.yml +++ b/.github/workflows/mvn_test.yml @@ -120,16 +120,16 @@ jobs: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ --projects=${{ matrix.project }} --fail-at-end - - name: Publish Unit Test report for non forked repo + - name: Publish unit test report for non forked repo if: ${{ failure() && (github.event.pull_request.head.repo.full_name == github.repository) }} # only report if a test has failed and we are a non forked repo uses: dorny/test-reporter@e9fa2f582c0ebbe2e263fd18fad744d52e0b0203 with: - name: "Unit Test report for ${{ matrix.project }}" + name: "Unit test report for ${{ matrix.project }}" path: ${{ matrix.project }}/target/surefire-reports/*.xml reporter: java-junit fail-on-error: true - - name: Publish Unit Test report for forked repo + - name: Annotate only test report for forked repo uses: mikepenz/action-junit-report@ec3a351c13e080dc4fa94c49ab7ad5bf778a9668 # v5 if: ${{ failure() && (github.event.pull_request.head.repo.full_name != github.repository) }} # only report if a test has failed and we are a forked repo with: