Skip to content

Commit

Permalink
cleanup output
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Nov 6, 2024
1 parent 82a67ef commit b10ce4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mvn_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b10ce4f

Please sign in to comment.