From 6eb05054d568ac93ab2d9b50b0c1ebd050968de3 Mon Sep 17 00:00:00 2001 From: Reegeek <10356780+reegeek@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:51:31 +0100 Subject: [PATCH 1/3] [Infra] Exclude net30 in x86 from test. Include net70 in x86 in test --- Build/Nuke/ProjectExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Build/Nuke/ProjectExtensions.cs b/Build/Nuke/ProjectExtensions.cs index 793d47b..b4e668a 100644 --- a/Build/Nuke/ProjectExtensions.cs +++ b/Build/Nuke/ProjectExtensions.cs @@ -56,7 +56,7 @@ public static IReadOnlyCollection 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, 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) @@ -65,9 +65,9 @@ public static IReadOnlyCollection GetPlatformsForTests(this Project proj return false; if (x.framework.Contains("2.2")) return false; - if (x.framework.Contains("50")) + if (x.framework.Contains("30")) return false; - if (x.framework.Contains("70")) + if (x.framework.Contains("50")) return false; return true; }); From 0fa1405a5cccba387509ecb4cc7a29681bd7a86c Mon Sep 17 00:00:00 2001 From: Reegeek <10356780+reegeek@users.noreply.github.com> Date: Sat, 4 Feb 2023 00:02:19 +0100 Subject: [PATCH 2/3] [Infra] fix typo --- Build/Nuke/ProjectExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Nuke/ProjectExtensions.cs b/Build/Nuke/ProjectExtensions.cs index b4e668a..1b45fd6 100644 --- a/Build/Nuke/ProjectExtensions.cs +++ b/Build/Nuke/ProjectExtensions.cs @@ -65,7 +65,7 @@ public static IReadOnlyCollection GetPlatformsForTests(this Project proj return false; if (x.framework.Contains("2.2")) return false; - if (x.framework.Contains("30")) + if (x.framework.Contains("3.0")) return false; if (x.framework.Contains("50")) return false; From f05a1d0910d702041f6a8c25403e4a6a413cb7e9 Mon Sep 17 00:00:00 2001 From: Reegeek <10356780+reegeek@users.noreply.github.com> Date: Sat, 4 Feb 2023 00:10:58 +0100 Subject: [PATCH 3/3] [Infra] exclude 3.1, x86 from test --- Build/Nuke/ProjectExtensions.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Build/Nuke/ProjectExtensions.cs b/Build/Nuke/ProjectExtensions.cs index 1b45fd6..7899f5f 100644 --- a/Build/Nuke/ProjectExtensions.cs +++ b/Build/Nuke/ProjectExtensions.cs @@ -56,7 +56,7 @@ public static IReadOnlyCollection 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) @@ -67,6 +67,8 @@ public static IReadOnlyCollection 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;