test-reporter #1449
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
--- | |
## Workflow to process the JUnit test results and add a report to the checks. | |
name: test-reporter | |
on: | |
workflow_run: | |
workflows: | |
- ci | |
- e2e | |
types: | |
- completed | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: elastic/oblt-actions/test-report@v1 | |
with: | |
artifact: /test-results(.*)/ | |
name: '${{ github.event.workflow_run.name }} - Test Report $1' | |
path: "**/junit*.xml" | |
reporter: java-junit |