1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 00:07:07 +00:00
Sonarr/.github/workflows/publish-test-results.yml

31 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