Skip to content

Commit

Permalink
add test report
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh Halay committed Apr 26, 2023
1 parent 0f6cea3 commit 32a5b7d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,13 @@ jobs:
uses: actions/checkout@v3

- name: Run tests
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --logger "trx;LogFileName=test-results.trx"

- 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

0 comments on commit 32a5b7d

Please sign in to comment.