Browse Source

Merge pull request #10535 from AvaloniaUI/fixes/flaky-builds

skip netfx tests on macos.
pull/10536/head
Dan Walmsley 4 years ago
committed by GitHub
parent
commit
92562b0d99
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      nukebuild/Build.cs

4
nukebuild/Build.cs

@ -165,10 +165,10 @@ partial class Build : NukeBuild
foreach (var fw in targetFrameworks)
{
if (fw.StartsWith("net4")
&& RuntimeInformation.IsOSPlatform(OSPlatform.Linux)
&& (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
&& Environment.GetEnvironmentVariable("FORCE_LINUX_TESTS") != "1")
{
Information($"Skipping {projectName} ({fw}) tests on Linux - https://github.com/mono/mono/issues/13969");
Information($"Skipping {projectName} ({fw}) tests on *nix - https://github.com/mono/mono/issues/13969");
continue;
}

Loading…
Cancel
Save