File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -136,29 +136,34 @@ jobs:
136
136
8.0.x
137
137
9.0.x
138
138
139
+ - name : ⚙️ Setup GIT versioning
140
+ run : |
141
+ dotnet restore
142
+ dotnet tool restore
143
+
139
144
- name : 🧪 Run unit tests
140
- run : dotnet test -c release -p:VSTestUseMSBuildOutput=false --verbosity normal -- logger trx --results-directory TestResults --collect "XPlat Code Coverage "
145
+ run : dotnet test -c release --no-restore - p:VSTestUseMSBuildOutput=false --logger "trx "
141
146
142
- - name : Test Reports
143
- uses : bibipkins/dotnet- test-reporter@v1.4.1
144
- if : always ()
147
+ - name : Test Report
148
+ uses : dorny/ test-reporter@v1
149
+ if : success() || failure ()
145
150
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
151
+ name : ' CI Test Results ${{ matrix.os }}'
152
+ reporter : ' dotnet-trx '
153
+ list-tests : ' failed '
154
+ list-suites : ' failed '
155
+ path : ' **/*.trx '
156
+ fail-on-error : false
152
157
153
158
- name : 📛 Upload hang- and crash-dumps on test failure
154
- if : failure()
159
+ if : success() || failure()
155
160
uses : actions/upload-artifact@v3
156
161
with :
157
162
if-no-files-found : ignore
158
163
name : test-dumps
159
164
path : |
160
- **/*hangdump .dmp
161
- **/*crashdump .dmp
165
+ **/*.dmp
166
+ **/*.dmp
162
167
163
168
validate-template :
164
169
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments