Skip to content

Commit

Permalink
ci: collect test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed Sep 24, 2024
1 parent 74da2fa commit d8053ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,18 @@ jobs:
9.0.x
- name: 🧪 Run unit tests
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false --verbosity normal --logger trx --results-directory TestResults --collect "XPlat Code Coverage"
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false --logger "trx"

- name: Test Reports
uses: bibipkins/dotnet-test-reporter@v1.4.1
if: always()
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: "Unit Test Results"
results-path: ./TestResults/*.trx
coverage-path: ./TestResults/**/coverage.cobertura.xml
coverage-type: cobertura
coverage-threshold: 0.00
name: 'CI Test Results ${{ matrix.os }}'
reporter: 'dotnet-trx'
list-tests: 'failed'
list-suites: 'only-failed'
path: '**/*.trx'
fail-on-error: false

- name: 📛 Upload hang- and crash-dumps on test failure
if: failure()
Expand Down

0 comments on commit d8053ad

Please sign in to comment.