diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml
index b15519581..3a2e278c8 100644
--- a/.github/workflows/build-ilspy.yml
+++ b/.github/workflows/build-ilspy.yml
@@ -47,7 +47,7 @@ jobs:
run: msbuild ILSpy.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform /m
- name: Execute unit tests
- run: dotnet test --logger "trx;LogFileName=${{ matrix.configuration }}-test-results.trx" $env:Tests1 $env:Tests2 $env:Tests3
+ run: dotnet test --logger "junit;LogFileName=${{ matrix.configuration }}.xml" --results-directory test-results $env:Tests1 $env:Tests2 $env:Tests3
env:
Tests1: ICSharpCode.Decompiler.Tests\bin\${{ matrix.configuration }}\net6.0-windows\win-x64\ICSharpCode.Decompiler.Tests.dll
Tests2: ILSpy.Tests\bin\${{ matrix.configuration }}\net6.0-windows\ILSpy.Tests.dll
@@ -58,17 +58,13 @@ jobs:
if: success() || failure()
with:
name: test-results-${{ matrix.configuration }}
- path: '**/*.trx'
+ path: 'test-results/${{ matrix.configuration }}.xml'
- name: Create Test Report
- uses: phoenix-actions/test-reporting@v6
- if: github.event_name != 'pull_request' && (success() || failure())
+ uses: test-summary/action@v1
+ if: always()
with:
- name: Unit Test Results (${{ matrix.configuration }})
- path: '**/*.trx'
- reporter: dotnet-trx
- list-suites: 'all'
- list-tests: 'failed'
+ paths: "test-results/${{ matrix.configuration }}.xml"
- name: Format check
run: python BuildTools\tidy.py
diff --git a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
index 622b84aa7..bd7cb7915 100644
--- a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
+++ b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
@@ -54,6 +54,8 @@
+
+
@@ -106,6 +108,7 @@
+
diff --git a/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj b/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj
index 9c8ccfa47..8910e3084 100644
--- a/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj
+++ b/ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj
@@ -33,6 +33,8 @@
+
+
diff --git a/ILSpy.Tests/ILSpy.Tests.csproj b/ILSpy.Tests/ILSpy.Tests.csproj
index 345189f44..5c6bc058e 100644
--- a/ILSpy.Tests/ILSpy.Tests.csproj
+++ b/ILSpy.Tests/ILSpy.Tests.csproj
@@ -52,6 +52,8 @@
+
+
diff --git a/packages.props b/packages.props
index f26b44c9f..fe4e90748 100644
--- a/packages.props
+++ b/packages.props
@@ -20,6 +20,7 @@
2.7.4
3.13.3
4.2.1
+ 3.0.110
3.1.2
17.0.0
4.16.1