Skip to content

Commit b05a549

Browse files
CI: Add trx-to-vsplaylist
1 parent 7a8c970 commit b05a549

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ jobs:
3131
- name: Build
3232
run: dotnet build -p:ContinuousIntegrationBuild=True -p:ReleaseDateAttribute=True --no-restore --configuration Release
3333
- name: Test
34-
run: dotnet test --no-build --configuration Release --verbosity normal
34+
run: dotnet test --no-build --configuration Release --verbosity normal --logger trx --results-directory ${{ runner.temp }}
35+
- name: Convert TRX to VS Playlist
36+
if: failure()
37+
uses: BenjaminMichaelis/trx-to-vsplaylist@v1
38+
with:
39+
trx-file-path: '${{ runner.temp }}/*.trx'
40+
output-directory: '${{ runner.temp }}/vsplaylists'
3541

3642
automerge:
3743
needs: [build-and-test]

0 commit comments

Comments
 (0)