Skip to content

Commit

Permalink
Added test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed Dec 20, 2024
1 parent dca380d commit 28aab18
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ jobs:

- name: Test
run: |
dotnet test ./Whisper.net.sln --no-build
dotnet test ./Whisper.net.sln --no-build --logger "trx;LogFileName=TestResults.trx"
- name: Test Reporter
uses: dorny/[email protected]
if: success() || failure() # run this step even if previous step failed
with:
name: Whisper.net Linux Test Results
path: **/TestResults.trx
reporter: dotnet-trx

dotnet-windows:
runs-on: windows-latest
Expand Down Expand Up @@ -65,7 +73,15 @@ jobs:

- name: Test
run: |
dotnet test ./Whisper.net.sln --no-build
dotnet test ./Whisper.net.sln --no-build --logger "trx;LogFileName=TestResults.trx"
- name: Test Reporter
uses: dorny/[email protected]
if: success() || failure() # run this step even if previous step failed
with:
name: Whisper.net Linux Test Results
path: **/TestResults.trx
reporter: dotnet-trx

dotnet-linux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -95,4 +111,12 @@ jobs:

- name: Test
run: |
dotnet test ./Whisper.net.sln --no-build
dotnet test ./Whisper.net.sln --no-build --logger "trx;LogFileName=TestResults.trx"
- name: Test Reporter
uses: dorny/[email protected]
if: success() || failure() # run this step even if previous step failed
with:
name: Whisper.net Linux Test Results
path: **/TestResults.trx
reporter: dotnet-trx

0 comments on commit 28aab18

Please sign in to comment.