From b05a549669cdff7279a256bbfc2ebfd35aaf24c7 Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Tue, 24 Jun 2025 08:19:31 -0700 Subject: [PATCH] CI: Add trx-to-vsplaylist --- .github/workflows/build-and-test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 68e8914..4a561a2 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -31,7 +31,13 @@ jobs: - name: Build run: dotnet build -p:ContinuousIntegrationBuild=True -p:ReleaseDateAttribute=True --no-restore --configuration Release - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal + run: dotnet test --no-build --configuration Release --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' automerge: needs: [build-and-test]