Skip to content

Commit

Permalink
Merge pull request #100 from sharwell/coverage
Browse files Browse the repository at this point in the history
Update code coverage integration
  • Loading branch information
sharwell authored Jul 16, 2020
2 parents e8384ea + ab11269 commit 6cdf3fe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .nuget/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Codecov" version="1.1.0" />
<package id="Codecov" version="1.12.1" />
<package id="OpenCover" version="4.6.519" />
</packages>
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: '{build}'
image: Visual Studio 2017
image: Visual Studio 2019
configuration:
- Debug
- Release
Expand All @@ -12,8 +12,8 @@ build:
project: dotnet-trees.sln
verbosity: minimal
test_script:
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\dotnet-trees\TunnelVisionLabs.Collections.Trees.Test\bin\%configuration%\net452\TunnelVisionLabs.Collections.Trees.Test.dll -noshadow -appveyor" -threshold:1 -oldStyle -returntargetcode -filter:"+[TunnelVisionLabs*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -output:.\trees_coverage.xml
- .\packages\Codecov.1.1.0\tools\codecov.exe -n "%configuration%" -f "trees_coverage.xml" --flag "%configuration%"
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:Path32 -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\dotnet-trees\TunnelVisionLabs.Collections.Trees.Test\bin\%configuration%\net452\TunnelVisionLabs.Collections.Trees.Test.dll -noshadow -appveyor" -threshold:1 -oldStyle -returntargetcode -filter:"+[TunnelVisionLabs*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -excludebyfile:*\*Designer.cs -hideskipped:All -output:.\trees_coverage.xml
- .\packages\Codecov.1.12.1\tools\codecov.exe -n "%configuration%" -f "trees_coverage.xml" --flag "%configuration%"
cache:
- packages -> **\packages.config
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion build/build.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param (
[switch]$Debug,
[string]$VisualStudioVersion = '15.0',
[string]$VisualStudioVersion = '16.0',
[switch]$SkipKeyCheck,
[string]$Verbosity = 'minimal',
[string]$Logger,
Expand Down
3 changes: 2 additions & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"sdk": {
"version": "2.1.401"
"version": "3.1.301",
"rollForward": "latestPatch"
}
}

0 comments on commit 6cdf3fe

Please sign in to comment.