Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Infra] Exclude net30 in x86 from test. #179

Merged
merged 3 commits into from
Feb 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions 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, 5.0, 7.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 @@ -65,9 +65,11 @@ public static IReadOnlyCollection<string> GetPlatformsForTests(this Project proj
return false;
if (x.framework.Contains("2.2"))
return false;
if (x.framework.Contains("50"))
if (x.framework.Contains("3.0"))
return false;
if (x.framework.Contains("3.1"))
return false;
if (x.framework.Contains("70"))
if (x.framework.Contains("50"))
return false;
return true;
});
Expand Down