-
Notifications
You must be signed in to change notification settings - Fork 11
41 lines (37 loc) · 1.56 KB
/
test-report.yaml
File metadata and controls
41 lines (37 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci-report
# See Dorny instructions for why we need a separate yaml for creating a test report
# for public repositories that accept forks:
# https://github.com/dorny/test-reporter#recommended-setup-for-public-repositories
on:
workflow_run:
workflows: ['ci-test'] # runs after CI workflow
types:
- completed
jobs:
test-report-release:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v2
with:
artifact: test-results-release # artifact name
name: Report release tests # Name of the check run which will be created
path: '*.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx # Format of test results
test-report-debug:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v2
with:
artifact: test-results-debug # artifact name
name: Report debug tests # Name of the check run which will be created
path: '*.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx # Format of test results
test-report-release-linux:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v2
with:
artifact: test-results-release-linux # artifact name
name: Report release tests (Linux) # Name of the check run which will be created
path: '*.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx # Format of test results