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'