Skip to content

Commit d8053ad

Browse files
committed
ci: collect test reports
1 parent 74da2fa commit d8053ad

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,18 +137,18 @@ jobs:
137137
9.0.x
138138
139139
- name: 🧪 Run unit tests
140-
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false --verbosity normal --logger trx --results-directory TestResults --collect "XPlat Code Coverage"
140+
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false --logger "trx"
141141

142-
- name: Test Reports
143-
uses: bibipkins/dotnet-test-reporter@v1.4.1
144-
if: always()
142+
- name: Test Report
143+
uses: dorny/test-reporter@v1
144+
if: success() || failure()
145145
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
146+
name: 'CI Test Results ${{ matrix.os }}'
147+
reporter: 'dotnet-trx'
148+
list-tests: 'failed'
149+
list-suites: 'only-failed'
150+
path: '**/*.trx'
151+
fail-on-error: false
152152

153153
- name: 📛 Upload hang- and crash-dumps on test failure
154154
if: failure()

0 commit comments

Comments
 (0)