Report Unit Test Results #463
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 Unit Test Results | |
on: | |
workflow_run: | |
workflows: ["CI Build"] | |
types: | |
- completed | |
workflow_call: | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code for Annotations | |
uses: actions/checkout@v4 | |
- name: Download Unit Test Results # see https://github.com/dorny/test-reporter/issues/363 | |
uses: actions/download-artifact@v4 # https://github.com/dorny/test-reporter/issues/363 | |
with: | |
name: unit-test-results | |
github-token: ${{ github.token }} | |
run-id: ${{ github.event.workflow_run.id || github.run_id }} | |
- name: Unit Test Report | |
uses: dorny/test-reporter@v1 | |
with: | |
name: Unit Test Report | |
path: TEST-*.xml | |
reporter: java-junit |