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 c9cae1a
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,16 @@ 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: Tests
reporter: dotnet-trx
list-tests: failed
path: '**/*.trx'

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

0 comments on commit c9cae1a

Please sign in to comment.