Skip to content

Commit

Permalink
Added task to upload trx results
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed Dec 20, 2024
1 parent dfa80bd commit 23c530a
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ jobs:
uses: dorny/test-reporter@v1.9.1
if: success() || failure() # run this step even if previous step failed
with:
name: Whisper.net Linux Test Results
name: Whisper.net MacOs Test Results
path: ./**/*.trx
reporter: dotnet-trx

- name: Upload trx files
uses: actions/upload-artifact@v4
with:
name: test-results-macos
path: ./**/*.trx
retention-days: 7

dotnet-windows:
runs-on: windows-latest
Expand Down Expand Up @@ -83,10 +90,17 @@ jobs:
uses: dorny/test-reporter@v1.9.1
if: success() || failure() # run this step even if previous step failed
with:
name: Whisper.net Linux Test Results
name: Whisper.net Windows Test Results
path: ./**/*.trx
reporter: dotnet-trx

- name: Upload trx files
uses: actions/upload-artifact@v4
with:
name: test-results-windows
path: ./**/*.trx
retention-days: 7

dotnet-linux:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -124,3 +138,11 @@ jobs:
name: Whisper.net Linux Test Results
path: ./**/*.trx
reporter: dotnet-trx

- name: Upload trx files
uses: actions/upload-artifact@v4
with:
name: test-results-linux
path: ./**/*.trx
retention-days: 7

0 comments on commit 23c530a

Please sign in to comment.