Skip to content

Commit 85ec424

Browse files
try test-report
1 parent 4994238 commit 85ec424

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build-ilspy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ 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
@@ -71,13 +71,14 @@ jobs:
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'
7575

7676
- name: Create Test Report
77-
uses: test-summary/action@v2
77+
uses: icsharpcode/test-summary-action@v2.4-trx+folded
7878
if: always()
7979
with:
80-
paths: "test-results/${{ matrix.configuration }}.xml"
80+
paths: "test-results/${{ matrix.configuration }}.trx"
81+
folded: true
8182

8283
- name: Format check
8384
run: dotnet-format whitespace --verify-no-changes --verbosity detailed ILSpy.sln

0 commit comments

Comments
 (0)