Skip to content

Commit e860083

Browse files
try test-report
1 parent 4994238 commit e860083

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-ilspy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,19 @@ jobs:
6060
run: msbuild ILSpy.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform /m
6161

6262
- name: Execute unit tests
63-
run: dotnet test --logger "junit;LogFileName=${{ matrix.configuration }}.xml" --results-directory test-results $env:Tests1 $env:Tests2 $env:Tests3
63+
run: dotnet test --logger "trx;LogFileName=${{ matrix.configuration }}.trx" --results-directory test-results $env:Tests1 $env:Tests2 $env:Tests3
6464
env:
6565
Tests1: ICSharpCode.Decompiler.Tests\bin\${{ matrix.configuration }}\net8.0-windows\win-x64\ICSharpCode.Decompiler.Tests.dll
6666
Tests2: ILSpy.Tests\bin\${{ matrix.configuration }}\net8.0-windows\ILSpy.Tests.dll
6767
Tests3: ILSpy.BamlDecompiler.Tests\bin\${{ matrix.configuration }}\net8.0-windows\win-x64\ILSpy.BamlDecompiler.Tests.dll
6868

6969
- name: Upload Test Logs
70-
uses: actions/upload-artifact@v4
70+
uses: icsharpcode/[email protected]+folded
7171
if: success() || failure()
7272
with:
7373
name: test-results-${{ matrix.configuration }}
74-
path: 'test-results/${{ matrix.configuration }}.xml'
74+
path: 'test-results/${{ matrix.configuration }}.trx'
75+
folded: true
7576

7677
- name: Create Test Report
7778
uses: test-summary/action@v2

0 commit comments

Comments
 (0)