sonarr-repo-only/.github/workflows/publish-test-results.yml

32 lines
631 B
YAML

name: Publish Test Results
on:
workflow_run:
workflows: ['Build']
types:
- completed
permissions:
contents: read
actions: read
checks: write
jobs:
report:
if: github.event.workflow_run.conclusion != 'skipped'
runs-on: ubuntu-latest
steps:
- name: Download Test Reports
uses: actions/download-artifact@v4
with:
name: results-*
path: test-results
merge-multiple: true
- name: Publish Test Results
uses: phoenix-actions/test-reporting@v12
with:
name: 'Test Results'
path: 'test-results/*.trx'
reporter: dotnet-trx