Skip to content

Commit

Permalink
Fix test environments.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Dec 30, 2024
1 parent 67865ff commit d144147
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"rollForward": "latestFeature"
},
"msbuild-sdks": {

"MSTest.Sdk": "3.7.0"
}
}
9 changes: 2 additions & 7 deletions src/IKVM.Clang.Sdk.Tests/IKVM.Clang.Sdk.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<Import Project="Sdk.props" Sdk="MSTest.Sdk" />

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
Expand All @@ -9,11 +9,6 @@
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Buildalyzer" Version="6.0.4" />
<PackageReference Include="Microsoft.CodeCoverage" Version="17.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' != '' ">
Expand All @@ -26,7 +21,7 @@
</None>
</ItemGroup>

<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<Import Project="Sdk.targets" Sdk="MSTest.Sdk" />

<!-- Generate a file the Tests can use to retrieve various MSBuild properties. -->
<Target Name="GeneratePropertiesFile">
Expand Down
16 changes: 16 additions & 0 deletions testEnvironments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "1",
"environments": [
{
"name": "Ubuntu",
"type": "wsl",
"wslDistribution": "Ubuntu"
},
{
"name": "Debian",
"type": "wsl",
"wslDistribution": "Debian"
}
]
}

0 comments on commit d144147

Please sign in to comment.