Skip to content

Commit

Permalink
Skip net4xx tests on non-Windows
Browse files Browse the repository at this point in the history
Skip running the tests for .NET Framework on non-Windows operating systems.
  • Loading branch information
martincostello committed Feb 13, 2022
1 parent 9f8d370 commit 475b7ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Polly.Specs/Polly.Specs.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net6.0;net461;net472</TargetFrameworks>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net6.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(TargetFrameworks);net461;net472</TargetFrameworks>
<!-- Disable warning about End-of-Life .NET versions -->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
Expand Down

0 comments on commit 475b7ba

Please sign in to comment.