Skip to content

Commit

Permalink
[Infra] exclude 3.1, x86 from test
Browse files Browse the repository at this point in the history
  • Loading branch information
reegeek committed Feb 3, 2023
1 parent 0fa1405 commit f05a1d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Build/Nuke/ProjectExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static IReadOnlyCollection<string> GetPlatformsForTests(this Project proj
if (azurePipelines != null && x.framework.Contains("2.2"))
return false;
//exclude netcore 2.1, 2.2, 3.0, 5.0 in x86 because is not well handle by azure pipelines and github actions on windows
//exclude netcore 2.1, 2.2, 3.0, 3.1, 5.0 in x86 because is not well handle by azure pipelines and github actions on windows
if (x.platform != "x86")
return true;
if (x.framework == null)
Expand All @@ -67,6 +67,8 @@ public static IReadOnlyCollection<string> GetPlatformsForTests(this Project proj
return false;
if (x.framework.Contains("3.0"))
return false;
if (x.framework.Contains("3.1"))
return false;
if (x.framework.Contains("50"))
return false;
return true;
Expand Down

0 comments on commit f05a1d0

Please sign in to comment.