From 23c530a3c30017ee0ba09a65a791bc86b8076361 Mon Sep 17 00:00:00 2001 From: Sandro Hanea Date: Fri, 20 Dec 2024 21:22:08 +0100 Subject: [PATCH] Added task to upload trx results --- .github/workflows/dotnet.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index f4363d15..a954c32c 100755 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 @@ -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 @@ -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 +