Report Test Results #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Report Test Results | |
on: | |
workflow_run: | |
workflows: [Build PR, Snapshot] | |
types: [completed] | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: JUnit Test Report - Java 17 | |
uses: dorny/test-reporter@v1 | |
with: | |
artifact: junit-test-results | |
name: Test Results - Java 17 | |
path: "**/test-results/testOn17/**/TEST-*.xml,**/test-results/test/**/TEST-*.xml" | |
reporter: java-junit | |
fail-on-empty: 'true' | |
list-tests: 'failed' | |
- name: JUnit Test Report - Java 21 | |
uses: dorny/test-reporter@v1 | |
with: | |
artifact: junit-test-results | |
name: Test Results - Java 21 | |
path: "**/test-results/testOn21/**/TEST-*.xml" | |
reporter: java-junit | |
fail-on-empty: 'true' | |
list-tests: 'failed' |