Skip to content

Commit

Permalink
Add dorny/test-reporter GitHub Actions plugin
Browse files Browse the repository at this point in the history
The very first GitHub Actions run failed, but it was hard to see exactly
what went wrong. (I'm suspecting the Docker timeout needs to be bumped
up.) Hopefully this plugin helps provide more visibility into failures.
  • Loading branch information
mbland committed Oct 31, 2023
1 parent 221fb31 commit 83c368e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@ jobs:

- name: Build and test
run: ./gradlew build --no-daemon --warning-mode all

# Per the advice from:
# - https://octopus.com/blog/githubactions-running-unit-tests
- name: Post test report
uses: dorny/test-reporter@v1
if: always()
with:
name: Java tests
path: '**/build/test-results/test*/TEST-*.xml'
reporter: java-junit
fail-on-error: true

0 comments on commit 83c368e

Please sign in to comment.