Skip to content

Commit

Permalink
only running tests on .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Nov 14, 2023
1 parent cc65cc1 commit cbf2cff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion build/build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cbf2cff

Please sign in to comment.