added test results into the PR pipeline

pull/4623/head
Jamie 2 years ago committed by GitHub
parent 8f30fbe690
commit 5d58db3a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,16 @@ jobs:
- name: Run Unit Tests
run: |
cd src
dotnet test --logger trx --results-directory "TestResults"
dotnet test --logger "trx;LogFileName=test-results.trx" || true
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: DotNET Tests
path: "**/test-results.trx"
reporter: dotnet-trx
fail-on-error: true
analysis:
runs-on: ubuntu-latest

Loading…
Cancel
Save