File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,18 @@ jobs:
137
137
9.0.x
138
138
139
139
- name : 🧪 Run unit tests
140
- run : dotnet test -c release -p:VSTestUseMSBuildOutput=false --logger "console;verbosity=normal"
140
+ run : dotnet test -c release -p:VSTestUseMSBuildOutput=false --verbosity normal --logger trx --results-directory TestResults --collect "XPlat Code Coverage"
141
+
142
+ - name : Test Reports
143
+
144
+ if : always()
145
+ with :
146
+ github-token : ${{ secrets.GITHUB_TOKEN }}
147
+ comment-title : " Unit Test Results"
148
+ results-path : ./TestResults/*.trx
149
+ coverage-path : ./TestResults/**/coverage.cobertura.xml
150
+ coverage-type : cobertura
151
+ coverage-threshold : 0.00
141
152
142
153
- name : 📛 Upload hang- and crash-dumps on test failure
143
154
if : failure()
You can’t perform that action at this time.
0 commit comments