Skip to content

Commit 0d453fb

Browse files
CI: Add trx-to-vsplaylist (#739)
1 parent 5ac1bb8 commit 0d453fb

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/PR-Build-And-Test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ jobs:
3535
run: dotnet build --configuration Release --no-restore /p:AccessToNugetFeed=false
3636

3737
- name: Run .NET Tests
38-
run: dotnet test --no-build --configuration Release
38+
run: dotnet test --no-build --configuration Release --logger trx --results-directory ${{ runner.temp }}
39+
40+
- name: Convert TRX to VS Playlist
41+
if: failure()
42+
uses: BenjaminMichaelis/trx-to-vsplaylist@v1
43+
with:
44+
trx-file-path: '${{ runner.temp }}/*.trx'
45+
output-directory: '${{ runner.temp }}/vsplaylists'
3946

4047
- name: Set up Docker Buildx
4148
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)