Browse Source

Move to --results-directory instead of --report-trx-filename

pull/3507/head
Christoph Wille 2 weeks ago
parent
commit
0974a36590
  1. 12
      .github/workflows/build-ilspy.yml
  2. 3
      .gitignore

12
.github/workflows/build-ilspy.yml

@ -63,26 +63,20 @@ jobs: @@ -63,26 +63,20 @@ jobs:
run: msbuild ILSpy.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform /m
- name: Execute unit tests
run: dotnet test --solution ilspy.sln --configuration ${{ matrix.configuration }} --no-build --report-trx --report-trx-filename test-results.trx
run: dotnet test --solution ilspy.sln --configuration ${{ matrix.configuration }} --no-build --report-trx --results-directory test-results/${{ matrix.configuration }}
- name: Upload Test Logs
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: test-results-${{ matrix.configuration }}
path: |
ICSharpCode.Decompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
ILSpy.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
ILSpy.BamlDecompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
path: 'test-results/${{ matrix.configuration }}/*.trx'
- name: Create Test Report
uses: icsharpcode/test-summary-action@dist
if: always()
with:
paths: |
ICSharpCode.Decompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
ILSpy.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
ILSpy.BamlDecompiler.Tests/bin/${{ matrix.configuration }}/net10.0-windows/win-x64/TestResults/*.trx
paths: "test-results/${{ matrix.configuration }}/*.trx"
folded: true
- name: Format check

3
.gitignore vendored

@ -20,4 +20,5 @@ ILSpy.Installer/wix/ @@ -20,4 +20,5 @@ ILSpy.Installer/wix/
/VERSION
/ICSharpCode.Decompiler/Properties/DecompilerVersionInfo.cs
*/.vscode/
DecompilerTests.config.json
DecompilerTests.config.json
*.trx
Loading…
Cancel
Save