From 6a602a2e9a12c6439c28ff8caab2b6553af7c899 Mon Sep 17 00:00:00 2001 From: Dorus Date: Mon, 23 Sep 2024 21:47:47 +0200 Subject: [PATCH] fixup: attempt to set dotnet test Set it to x64 specifically since arm64 wont run on github --- .github/workflows/buildcheck-debug.yml | 8 ++++---- .github/workflows/buildcheck-release.yml | 2 +- Yafc.Model.Tests/Yafc.Model.Tests.csproj | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildcheck-debug.yml b/.github/workflows/buildcheck-debug.yml index eae17bde..81cdfdae 100644 --- a/.github/workflows/buildcheck-debug.yml +++ b/.github/workflows/buildcheck-debug.yml @@ -35,12 +35,12 @@ jobs: - name: Setup MSBuild.exe uses: microsoft/setup-msbuild@v2 - # Execute all unit tests in the solution - - name: Execute unit tests - run: dotnet test - - name: Restore dependencies run: dotnet restore + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test -p:Platform=x64 + - name: Format run: dotnet format --verify-no-changes --diagnostics IDE0055 --severity info --verbosity diagnostic diff --git a/.github/workflows/buildcheck-release.yml b/.github/workflows/buildcheck-release.yml index d556704c..d92ba06e 100644 --- a/.github/workflows/buildcheck-release.yml +++ b/.github/workflows/buildcheck-release.yml @@ -36,4 +36,4 @@ jobs: # Execute all unit tests in the solution - name: Execute unit tests - run: dotnet test + run: dotnet test -p:Platform=x64 diff --git a/Yafc.Model.Tests/Yafc.Model.Tests.csproj b/Yafc.Model.Tests/Yafc.Model.Tests.csproj index 7ea8e52a..de0461a6 100644 --- a/Yafc.Model.Tests/Yafc.Model.Tests.csproj +++ b/Yafc.Model.Tests/Yafc.Model.Tests.csproj @@ -2,7 +2,7 @@ net8.0 - x64;ARM64 + AnyCPU