Skip to content

Commit

Permalink
Updates for code coverage tools and process
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Jun 1, 2020
1 parent 9f49013 commit 19c4ed9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
18 changes: 14 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
inputs:
filePath: src/Connectors/EnableGemFire.ps1
arguments: $(PivNetAPIToken)
- task: UseDotNet@2
displayName: 'Install .NET Core 3.x SDK'
inputs:
packageType: sdk
version: 3.1.300
- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
Expand All @@ -44,7 +49,7 @@ jobs:
inputs:
command: test
projects: '**/*.Test/*.csproj'
arguments: '-c $(buildConfiguration) -maxcpucount:1 --filter "Category!=SkipOnLinux"'
arguments: '--no-build -c $(buildConfiguration) -maxcpucount:1 --filter "Category!=SkipOnLinux"'
- job: MacOS_Build_and_Test
pool:
vmImage: 'macOS-latest'
Expand All @@ -63,7 +68,7 @@ jobs:
displayName: 'Install .NET Core 3.x SDK'
inputs:
packageType: sdk
version: 3.0.100
version: 3.1.300
- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
Expand All @@ -80,7 +85,7 @@ jobs:
inputs:
command: test
projects: '**/*.Test/*.csproj'
arguments: '-c $(buildConfiguration) -maxcpucount:1 --filter "Category!=SkipOnMacOS"'
arguments: '--no-build -c $(buildConfiguration) -maxcpucount:1 --filter "Category!=SkipOnMacOS"'
- job: Windows_Build_Test_and_Package
timeoutInMinutes: 90
pool:
Expand All @@ -105,6 +110,11 @@ jobs:
inputs:
filePath: src/Connectors/EnableGemFire.ps1
arguments: $(PivNetAPIToken)
- task: UseDotNet@2
displayName: 'Install .NET Core 3.x SDK'
inputs:
packageType: sdk
version: 3.1.300
- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
Expand Down Expand Up @@ -134,7 +144,7 @@ jobs:
inputs:
command: test
projects: 'src/Steeltoe.All.sln'
arguments: '-c $(buildConfiguration) -maxcpucount:1 /p:TreatWarningsAsErrors=True /p:CopyLocalLockFileAssemblies=true --filter "Category!=Integration" /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:Include="[Steeltoe.*]*" /p:Exclude="[*.Test]*"'
arguments: '--no-build -c $(buildConfiguration) -maxcpucount:1 /p:TreatWarningsAsErrors=True /p:CopyLocalLockFileAssemblies=true --filter "Category!=Integration" /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:Include="[Steeltoe.*]*" /p:Exclude="[*.Test]*"'
# Generate the report using ReportGenerator (https://github.com/danielpalme/ReportGenerator)
# First install the tool on the machine, then run it
- pwsh: |
Expand Down
4 changes: 2 additions & 2 deletions versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<AutofacVersion>4.6.1</AutofacVersion>
<BouncyCastleVersion>1.8.4</BouncyCastleVersion>
<ConsulVersion>0.7.2.6</ConsulVersion>
<CoverletVersion>2.7.0</CoverletVersion>
<CoverletVersion>2.9.0</CoverletVersion>
<HdrHistogramVersion>2.0.0</HdrHistogramVersion>
<HttpExtensionsVersion>2.1.0</HttpExtensionsVersion>
<DiagnosticsExtensionsVersion>2.2.5</DiagnosticsExtensionsVersion>
Expand All @@ -44,7 +44,7 @@
<OpenCensusVersion>0.1.0-alpha-42253</OpenCensusVersion>
<RabbitClientVersion>5.0.1</RabbitClientVersion>
<ReactiveVersion>4.1.5</ReactiveVersion>
<TestSdkVersion>16.3.0</TestSdkVersion>
<TestSdkVersion>16.6.1</TestSdkVersion>
<XunitAnalyzersVersion>0.9.0</XunitAnalyzersVersion>
<XunitVersion>2.4.1</XunitVersion>
<XunitStudioVersion>2.4.1</XunitStudioVersion>
Expand Down

0 comments on commit 19c4ed9

Please sign in to comment.