From c6b6c09cfcc8a10940d913c2d6f11342b7fddb54 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Thu, 20 Mar 2025 13:07:10 +0100 Subject: [PATCH] Use custom-built version of the test-summary GH action. --- .github/workflows/build-ilspy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index a112c3a39..d36ee142c 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -60,7 +60,7 @@ jobs: run: msbuild ILSpy.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform /m - name: Execute unit tests - run: dotnet test --logger "junit;LogFileName=${{ matrix.configuration }}.xml" --results-directory test-results $env:Tests1 $env:Tests2 $env:Tests3 + run: dotnet test --logger "trx;LogFileName=${{ matrix.configuration }}.trx" --results-directory test-results $env:Tests1 $env:Tests2 $env:Tests3 env: Tests1: ICSharpCode.Decompiler.Tests\bin\${{ matrix.configuration }}\net8.0-windows\win-x64\ICSharpCode.Decompiler.Tests.dll Tests2: ILSpy.Tests\bin\${{ matrix.configuration }}\net8.0-windows\ILSpy.Tests.dll @@ -71,13 +71,14 @@ jobs: if: success() || failure() with: name: test-results-${{ matrix.configuration }} - path: 'test-results/${{ matrix.configuration }}.xml' + path: 'test-results/${{ matrix.configuration }}.trx' - name: Create Test Report - uses: test-summary/action@v2 + uses: icsharpcode/test-summary-action@dist if: always() with: - paths: "test-results/${{ matrix.configuration }}.xml" + paths: "test-results/${{ matrix.configuration }}.trx" + folded: true - name: Format check run: dotnet-format whitespace --verify-no-changes --verbosity detailed ILSpy.sln