Skip to content

test-reporter

test-reporter #377

Workflow file for this run

---
## Workflow to process the JUnit test results and add a report to the checks.
name: test-reporter
on:
workflow_run:
workflows:
- test
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(.*)/ # artifact name pattern
name: 'Test Report $1' # Name of the check run which will be created
path: "junit-*.xml" # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results
list-suites: 'failed'
list-tests: 'failed'