Skip to content

Commit 1c6a684

Browse files
test(integration): Enable the integration tests to run on both net8 and net9 (#608)
Enable the integration tests to run on both net8 and net9 Signed-off-by: Kyle Julian <[email protected]>
1 parent dfbc3ee commit 1c6a684

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Directory.Packages.props

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@
4343
<PackageVersion Include="Reqnroll.xUnit" Version="2.4.1" />
4444
<PackageVersion Include="xunit" Version="2.9.3" />
4545
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
46-
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="9.0.3" />
46+
</ItemGroup>
47+
48+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
49+
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="8.0.21" />
50+
</ItemGroup>
51+
52+
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
53+
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="9.0.10" />
4754
</ItemGroup>
4855

4956
<ItemGroup Condition="'$(OS)' == 'Unix'">

test/OpenFeature.IntegrationTests/OpenFeature.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)