Skip to content

Commit 357e537

Browse files
committed
tests: Test on .NET Framework only if we are on Windows
1 parent 6809266 commit 357e537

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Src/Support/Google.Apis.Auth.Tests/Google.Apis.Auth.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net462;net6.0</TargetFrameworks>
5+
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0</TargetFrameworks>
56
<SignAssembly>true</SignAssembly>
67
<AssemblyOriginatorKeyFile>..\..\..\google.apis.snk</AssemblyOriginatorKeyFile>
78
<IsPackable>false</IsPackable>

Src/Support/Google.Apis.IntegrationTests/Google.Apis.IntegrationTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net462;net6.0</TargetFrameworks>
5+
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0</TargetFrameworks>
56
<SignAssembly>true</SignAssembly>
67
<AssemblyOriginatorKeyFile>..\..\..\google.apis.snk</AssemblyOriginatorKeyFile>
78
<IsPackable>false</IsPackable>

Src/Support/Google.Apis.Tests/Google.Apis.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net462;net6.0</TargetFrameworks>
5+
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net6.0</TargetFrameworks>
56
<SignAssembly>true</SignAssembly>
67
<AssemblyOriginatorKeyFile>..\..\..\google.apis.snk</AssemblyOriginatorKeyFile>
78
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)