Test Report #3046
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: 'Test Report' | |
on: | |
workflow_run: | |
workflows: ['CI'] | |
types: | |
- completed | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
# If the workflow run was skipped or cancelled this action would fail, generating a test report is unnecessary. | |
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }} | |
steps: | |
- uses: dorny/test-reporter@v1 | |
with: | |
artifact: '/tests-results-(.*)/' | |
name: 'Test report for $1' | |
path: '**/test-reports/TEST*.xml' | |
reporter: java-junit |