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