-
-
Notifications
You must be signed in to change notification settings - Fork 130
20 lines (20 loc) · 675 Bytes
/
Copy pathtest-report.yml
File metadata and controls
20 lines (20 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: 'Test Report'
on:
workflow_run:
workflows: ['Examine Build'] # runs after CI workflow
types:
- completed
permissions:
contents: read
actions: read
checks: write
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v3
with:
artifact: /test-results-(.*)/ # matches per-TFM artifacts; $1 captures the TFM (e.g. net8.0)
name: 'Publish Tests ($1)' # Name of the check run which will be created (unique per TFM)
path: '*.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx # Format of test results