mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-06 13:11:13 -07:00
added test results into the PR pipeline
This commit is contained in:
parent
8f30fbe690
commit
5d58db3a94
1 changed files with 10 additions and 1 deletions
11
.github/workflows/pr.yml
vendored
11
.github/workflows/pr.yml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue