File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed
Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1- name : ' Test Report'
1+ name : Test Report
22
33# See Dorny instructions for why we need a separate yaml for creating a test report
44# for public repositories that accept forks:
1212jobs :
1313 test-report-release :
1414 runs-on : ubuntu-latest
15+ name : Test report (release)
1516 steps :
1617 - uses : dorny/test-reporter@v1
1718 with :
1819 artifact : test-results-release # artifact name
19- name : Report release tests # Name of the check run which will be created
20- path : ' **/* .trx' # Path to test results (inside artifact .zip)
20+ name : Dorny release tests # Name of the check run which will be created
21+ path : ' *.trx' # Path to test results (inside artifact .zip)
2122 reporter : dotnet-trx # Format of test results
2223
2324 test-report-debug :
2425 runs-on : ubuntu-latest
26+ name : Test report (debug)
2527 steps :
2628 - uses : dorny/test-reporter@v1
2729 with :
2830 artifact : test-results-debug # artifact name
29- name : Report debug tests # Name of the check run which will be created
30- path : ' **/* .trx' # Path to test results (inside artifact .zip)
31+ name : Dorny debug tests # Name of the check run which will be created
32+ path : ' *.trx' # Path to test results (inside artifact .zip)
3133 reporter : dotnet-trx # Format of test results
Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ jobs:
1212 uses : actions/checkout@v3
1313 with :
1414 fetch-depth : 0
15+
1516 # setup dotnet based on global.json
1617 - name : setup-dotnet
1718 uses : actions/setup-dotnet@v3
19+
1820 # build it, test it
1921 - name : Run dotnet test - release
2022 run : ./build.cmd ci -release
21- - uses : actions/upload-artifact@v2 # upload test results
22- if : success() || failure() # run this step even if previous step failed
23+
24+ # upload test results
25+ - uses : actions/upload-artifact@v2
26+ if : success() || failure()
2327 with :
2428 name : test-results-release
2529 # this path glob pattern requires forward slashes!
@@ -35,14 +39,18 @@ jobs:
3539 uses : actions/checkout@v3
3640 with :
3741 fetch-depth : 0
42+
3843 # setup dotnet based on global.json
3944 - name : setup-dotnet
4045 uses : actions/setup-dotnet@v3
46+
4147 # build it, test it
4248 - name : Run dotnet test - debug
4349 run : ./build.cmd ci -debug
44- - uses : actions/upload-artifact@v2 # upload test results
45- if : success() || failure() # run this step even if previous step failed
50+
51+ # upload test results
52+ - uses : actions/upload-artifact@v2
53+ if : success() || failure()
4654 with :
4755 name : test-results-debug
4856 # this path glob pattern requires forward slashes!
You can’t perform that action at this time.
0 commit comments