From 7f63f80b4ce8150606f0038e43ea297adb094bf8 Mon Sep 17 00:00:00 2001 From: James Maes Date: Fri, 9 Oct 2026 07:13:28 -0500 Subject: [PATCH] CI: run test projects at their AnyCPU output path Passing -p:Platform=x64 to a test project made dotnet test look under bin\x64, but the x64 solution build maps test projects to AnyCPU (bin\Debug). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60bd8de..652dd0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: run: dotnet build AppKit.slnx -p:Platform=x64 -warnaserror - name: Run unit tests with coverage - run: dotnet test tests/KofTwentyTwo.AppKit.Tests --no-build -p:Platform=x64 --settings coverage.runsettings --collect:"XPlat Code Coverage" --results-directory TestResults + run: dotnet test tests/KofTwentyTwo.AppKit.Tests --no-build --settings coverage.runsettings --collect:"XPlat Code Coverage" --results-directory TestResults - name: Enforce 100% line coverage (AppKit, AppKit.Updates) shell: pwsh @@ -77,7 +77,7 @@ jobs: run: dotnet build AppKit.slnx -p:Platform=x64 - name: Run UI tests - run: dotnet test tests/KofTwentyTwo.AppKit.UiTests --no-build -p:Platform=x64 + run: dotnet test tests/KofTwentyTwo.AppKit.UiTests --no-build format: name: Format (style gate) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2c2c82..e14be3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: run: dotnet build AppKit.slnx -c Release -p:Platform=x64 -p:Version=${{ steps.version.outputs.version }} -warnaserror - name: Unit tests with coverage - run: dotnet test tests/KofTwentyTwo.AppKit.Tests -c Release --no-build -p:Platform=x64 --settings coverage.runsettings --collect:"XPlat Code Coverage" --results-directory TestResults + run: dotnet test tests/KofTwentyTwo.AppKit.Tests -c Release --no-build --settings coverage.runsettings --collect:"XPlat Code Coverage" --results-directory TestResults - name: Enforce 100% line coverage shell: pwsh -- 2.54.0