Skip to content

Commit 867e49d

Browse files
committed
[Test] add net60 in TargetFrameworks for test projects.
1 parent 9644868 commit 867e49d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Build/Nuke/Build.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ from platform in project.GetPlatforms()
123123
}
124124
}
125125

126-
[Partition(3)] readonly Partition TestPartition;
126+
[Partition(4)] readonly Partition TestPartition;
127127

128128
Target Test => _ => _
129129
.DependsOn(Compile)

Build/Nuke/ProjectExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static IReadOnlyCollection<string> GetPlatformsForTests(this Project proj
5050
if (azurePipelines != null && x.framework.Contains("2.2"))
5151
return false;
5252

53-
//exclude netcore 2.1, 2.2, 60 in x86 because is not well handle by azure pipelines and github actions on windows
53+
//exclude netcore 2.1, 2.2, 6.0 in x86 because is not well handle by azure pipelines and github actions on windows
5454
if (x.platform != "x86")
5555
return true;
5656
if (x.framework == null)

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ stages:
4545
displayName: '🚦 Test 🧩'
4646
dependsOn: [ Compile ]
4747
strategy:
48-
parallel: 3
48+
parallel: 4
4949
steps:
5050
- task: UseDotNet@2
5151
displayName: 'Setup .NET Core 2.1'

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- common tests properties -->
88
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
99
<IsPackable>False</IsPackable>
10-
<DefaultTargetFrameworks>net50;net48</DefaultTargetFrameworks>
10+
<DefaultTargetFrameworks>net50;net48;net60</DefaultTargetFrameworks>
1111
</PropertyGroup>
1212

1313
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">

0 commit comments

Comments
 (0)