test-reporter #2668
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: | |
- main | |
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: 'Test Results $1' | |
path: "**/*.xml" # Path to test results (inside artifact .zip) | |
reporter: java-junit # Format of test results |