From 13aa24929a834a3aaa5321490e40dd08e65c63c3 Mon Sep 17 00:00:00 2001
From: Daniel Lerch <36048059+daniel-lerch@users.noreply.github.com>
Date: Mon, 9 Dec 2024 12:39:13 +0100
Subject: [PATCH] Add architecture to unit test project
---
.github/workflows/dotnet-desktop.yml | 2 +-
tests/Vocup.UnitTests/Vocup.UnitTests.csproj | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml
index 4685300..5c3ed71 100644
--- a/.github/workflows/dotnet-desktop.yml
+++ b/.github/workflows/dotnet-desktop.yml
@@ -56,7 +56,7 @@ jobs:
# Execute all unit tests in the solution
- name: Execute unit tests
- run: dotnet test
+ run: dotnet test --configuration ${{ matrix.configuration }} --arch x64
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
diff --git a/tests/Vocup.UnitTests/Vocup.UnitTests.csproj b/tests/Vocup.UnitTests/Vocup.UnitTests.csproj
index b38650d..29cc111 100644
--- a/tests/Vocup.UnitTests/Vocup.UnitTests.csproj
+++ b/tests/Vocup.UnitTests/Vocup.UnitTests.csproj
@@ -2,6 +2,8 @@
net9.0-windows10.0.22621.0
10.0.14393.0
+ AnyCPU;x86;x64;ARM64
+ win-x86;win-x64;win-arm64