Skip to content

Unit Test Results

Unit Test Results #16

Workflow file for this run

name: Unit Test Results
on:
workflow_run:
workflows: ["Build and Test"]
types:
- completed
jobs:
unit-test-results:
name: Unit Test Results
runs-on: ubuntu-20.04
if: github.event.workflow_run.conclusion != 'skipped'
steps:
- name: Download Test Report
uses: dawidd6/action-download-artifact@v2
with:
name: test-results
path: test-results
workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }}
- name: Publish Test Report as GitHub PR Comment
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
commit: ${{ github.event.workflow_run.head_sha }}
junit_files: "test-results/**/*.xml"