File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 36
36
- name : Build solution
37
37
run : dotnet build
38
38
- name : Run tests
39
- run : dotnet test --no-build --logger "html;LogFileName=../../TestResults-${{ runner.os }}.html" --logger GitHubActions
39
+ run : dotnet test --no-build --logger "html;LogFileName=../../TestResults-${{ runner.os }}.html" --logger "trx;LogFileName=../../TestResults-${{ runner.os }}.trx" --logger GitHubActions
40
40
id : dotnet-test
41
41
- name : Upload received files from failing tests
42
42
uses : actions/upload-artifact@v2
50
50
with :
51
51
name : TestResults-${{ runner.os }}
52
52
path : TestResults-${{ runner.os }}.html
53
+ - name : Test Report
54
+ uses : dorny/test-reporter@v1
55
+ if : always()
56
+ with :
57
+ name : Test Results (${{ runner.os }})
58
+ path : TestResults-${{ runner.os }}.trx
59
+ reporter : dotnet-trx
53
60
- name : Upload coverage report to Codecov
54
61
if : matrix.os == 'macos-latest'
55
62
uses : codecov/codecov-action@v2
You can’t perform that action at this time.
0 commit comments