From edf708e5283fb874c67fdca445cc9c4fd5c93d3e Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Tue, 24 Jun 2025 08:16:54 -0700 Subject: [PATCH] CI: Add trx-to-vsplaylist --- .github/workflows/build-and-test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6d96255e..7d1d8391 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -53,4 +53,11 @@ jobs: - name: Build run: dotnet build --no-restore - name: Test - run: dotnet test --no-build --no-restore --verbosity normal \ No newline at end of file + run: dotnet test --no-build --no-restore --verbosity normal --logger trx --results-directory ${{ runner.temp }} + + - name: Convert TRX to VS Playlist + if: failure() + uses: BenjaminMichaelis/trx-to-vsplaylist@v1 + with: + trx-file-path: '${{ runner.temp }}/*.trx' + output-directory: '${{ runner.temp }}/vsplaylists'