From cbf2cff4dbef3cdbe1e7a94b8cb5d5e792c24b4b Mon Sep 17 00:00:00 2001 From: "Jeremy D. Miller" Date: Tue, 14 Nov 2023 15:22:59 -0600 Subject: [PATCH] only running tests on .NET 8 --- .github/workflows/dotnet.yml | 1 + build/build.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 91662327..ea462a24 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x + - name: Setup .NET 7 uses: actions/setup-dotnet@v3 with: diff --git a/build/build.cs b/build/build.cs index 9205b73c..33007da9 100644 --- a/build/build.cs +++ b/build/build.cs @@ -263,7 +263,7 @@ private static void RunNpm(string args) => private static void RunTests(string projectName, string directoryName = "src") { - Run("dotnet", $"test --no-build {directoryName}/{projectName}/{projectName}.csproj"); + Run("dotnet", $"test --no-build {directoryName}/{projectName}/{projectName}.csproj --framework net8.0"); } private static string GetEnvironmentVariable(string variableName)