From 22e1c198b1604342f1fee204cdc83462c26eb868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henning=20Bj=C3=B8rgo?= Date: Sun, 18 Sep 2022 15:21:45 +0200 Subject: [PATCH] Only run tests on .NET 6 (because the runner is targeting Linux) --- Build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.ps1 b/Build.ps1 index 681a3e6..ae1a14b 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -10,7 +10,7 @@ Write-Host "### dotnet build... ###" dotnet build .\src\HeboTech.ATLib\HeboTech.ATLib.csproj -c Release Write-Host "### dotnet test... ###" -dotnet test .\src\HeboTech.ATLib.Tests\HeboTech.ATLib.Tests.csproj -c Release +dotnet test .\src\HeboTech.ATLib.Tests\HeboTech.ATLib.Tests.csproj -c Release -f net6.0 Write-Host "### dotnet pack... ###" dotnet pack .\src\HeboTech.ATLib\HeboTech.ATLib.csproj -c Release -o $artifacts --no-build