Skip to content

Commit

Permalink
codecov fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dotarj committed Mar 24, 2018
1 parent aa6c6d1 commit a836033
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ after_test:
Execute-Action "generating code coverage report" {
msbuild -p:Configuration=$env:CONFIGURATION -v:m -p:codecov=true
OpenCover.Console.exe -target:"$env:XUNIT20/xunit.console.x86.exe" -targetargs:"test/$env:APPVEYOR_PROJECT_NAME.Tests/bin/$env:CONFIGURATION/net471/$env:APPVEYOR_PROJECT_NAME.Tests.dll -noshadow" -register:user -filter:"+[*]* -[$env:APPVEYOR_PROJECT_NAME.Tests]* -[$env:APPVEYOR_PROJECT_NAME.Samples]*" -hideskipped:All -output:"./coverage.xml"
OpenCover.Console.exe -target:"$env:XUNIT20/xunit.console.x86.exe" -targetargs:"test/$env:APPVEYOR_PROJECT_NAME.Tests/bin/$env:CONFIGURATION/net45/$env:APPVEYOR_PROJECT_NAME.Tests.dll -noshadow" -register:user -filter:"+[*]* -[$env:APPVEYOR_PROJECT_NAME.Tests]* -[$env:APPVEYOR_PROJECT_NAME.Samples]*" -hideskipped:All -output:"./coverage.xml"
}
- ps: |
Expand Down
2 changes: 2 additions & 0 deletions src/protobuf-net-data/protobuf-net-data.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<DebugType Condition="$(codecov) == 'true'">full</DebugType>
<DebugType Condition="$(codecov) != 'true'">pdbonly</DebugType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFrameworks>net20;net30;net35;net40;net45;netstandard2.0</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<DebugType Condition="$(codecov) == 'true'">full</DebugType>
<IsPackable>false</IsPackable>
<TargetFramework>net471</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down

0 comments on commit a836033

Please sign in to comment.