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:
136136 8.0.x
137137 9.0.x
138138
139+ - name : ⚙️ Setup GIT versioning
140+ run : |
141+ dotnet restore
142+ dotnet tool restore
143+
139144 - 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 "
141146
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 ()
145150 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
152157
153158 - name : 📛 Upload hang- and crash-dumps on test failure
154- if : failure()
159+ if : success() || failure()
155160 uses : actions/upload-artifact@v3
156161 with :
157162 if-no-files-found : ignore
158163 name : test-dumps
159164 path : |
160- **/*hangdump .dmp
161- **/*crashdump .dmp
165+ **/*.dmp
166+ **/*.dmp
162167
163168 validate-template :
164169 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments