Skip to content

Commit

Permalink
Bump coverlet.collector from 3.1.0 to 3.1.2, add fast path for local …
Browse files Browse the repository at this point in the history
…PR (#1701)

* Bump coverlet.collector from 3.1.0 to 3.1.2
* Add fast path for PR in this repo. Forks still use the long path.

Co-authored-by: Martin Regen <mregen@microsoft.com>
  • Loading branch information
dependabot[bot] and mregen committed Feb 8, 2022
1 parent 5d9234e commit 5b3adf7
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Opc.Ua.Client.Tests/Opc.Ua.Client.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Opc.Ua.Core.Tests/Opc.Ua.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Opc.Ua.Gds.Tests/Opc.Ua.Gds.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Opc.Ua.PubSub.Tests/Opc.Ua.PubSub.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PackageReference>
<PackageReference Include="NunitXml.TestLogger" Version="3.0.107" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Opc.Ua.Server.Tests/Opc.Ua.Server.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
19 changes: 18 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pr:
include:
- '*'

variables:
FullBuild: $[or(ne(variables['Build.Reason'], 'PullRequest'), eq( variables['LOCALPR'], ''))]

stages:
- stage: build
displayName: 'Build .Net Core Samples'
Expand All @@ -31,6 +34,7 @@ stages:
- stage: buildnohttps
dependsOn: []
displayName: 'Build NoHttps .Net Core Samples'
condition: and(succeeded(), eq(variables.FullBuild, 'true'))
jobs:
- template: .azurepipelines/ci.yml
parameters:
Expand All @@ -51,6 +55,7 @@ stages:
- stage: testrelease
dependsOn: [build]
displayName: 'Test Core and SDK Release'
condition: and(succeeded(), eq(variables.FullBuild, 'true'))
jobs:
- template: .azurepipelines/test.yml
parameters:
Expand All @@ -69,9 +74,21 @@ stages:
framework: net6.0
agents: '@{ windows = "windows-2022"; linux="ubuntu-20.04"; mac = "macOS-11"}'
jobnamesuffix: net60
- stage: testreleasepr
dependsOn: []
displayName: 'Fast PR Test Core and SDK Release'
condition: and(succeeded(), ne(variables.FullBuild, 'true'))
jobs:
- template: .azurepipelines/test.yml
parameters:
configuration: Release
framework: net6.0
agents: '@{ windows = "windows-2022"; linux="ubuntu-20.04"}'
jobnamesuffix: net60pr
- stage: testdebug
dependsOn: [build]
displayName: 'Test Core and SDK Debug'
condition: and(succeeded(), eq(variables.FullBuild, 'true'))
jobs:
- template: .azurepipelines/test.yml
parameters:
Expand All @@ -80,7 +97,7 @@ stages:
- stage: coverage
dependsOn: [testdebug,testrelease]
displayName: 'Code Coverage'
condition: ${{ ne(variables['Build.Reason'], 'PullRequest') }}
condition: and(succeeded(), eq(variables.FullBuild, 'true'))
jobs:
- template: .azurepipelines/testcc.yml
parameters:
Expand Down

0 comments on commit 5b3adf7

Please sign in to comment.