mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 00:07:07 +00:00
31 lines
631 B
YAML
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
|