Skip to content

Commit bafeed7

Browse files
committed
Update code coverage collection
1 parent 3b10820 commit bafeed7

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</ItemGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="Codecov" Version="1.0.3" IncludeAssets="none" PrivateAssets="all" />
31+
<PackageReference Include="Codecov" Version="1.12.4" IncludeAssets="none" PrivateAssets="all" />
3232
<PackageReference Include="OpenCover" Version="4.6.519" IncludeAssets="none" PrivateAssets="all" />
3333
</ItemGroup>
3434

appveyor.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_script:
1818
$codecovVersion = $buildProperties.SelectSingleNode('/Project/ItemGroup/PackageReference[@Include="Codecov"]').Version
1919
$codecov = Join-Path (Join-Path $env:UserProfile '.nuget\packages\') "codecov\$codecovVersion\tools\codecov.exe"
2020
&$openCoverConsole `
21-
-register:user `
21+
-register:machine `
2222
-returntargetcode `
2323
-hideskipped:All `
2424
-filter:"+[Tvl*]*" `
@@ -29,7 +29,7 @@ test_script:
2929
-targetargs:"$unitTestAssembly -appveyor -noshadow"
3030
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
3131
&$openCoverConsole `
32-
-register:user `
32+
-register:machine `
3333
-returntargetcode `
3434
-hideskipped:All `
3535
-filter:"+[Tvl*]*" `
@@ -46,3 +46,7 @@ artifacts:
4646
- path: 'Tvl.VisualStudio.MouseFastScroll\**\*.vsix'
4747
- path: '\msbuild.binlog'
4848
name: build log
49+
- path: '\OpenCover.MouseFastScroll.UnitTests.xml'
50+
name: Unit test coverage
51+
- path: '\OpenCover.MouseFastScroll.IntegrationTests.xml'
52+
name: Integration test coverage

codecov.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ flags:
1616
auto_apply: true
1717
paths:
1818
- Tvl.VisualStudio.MouseFastScroll/
19+
- Tvl.VisualStudio.MouseFastScroll.11/
20+
- Tvl.VisualStudio.MouseFastScroll.17/
21+
- Tvl.VisualStudio.MouseFastScroll.Shared/
1922
test:
2023
auto_apply: true
2124
paths:
2225
- Tvl.VisualStudio.MouseFastScroll.IntegrationTests/
23-
- Tvl.VisualStudio.MouseFastScroll.IntegrationTestService/
2426
- Tvl.VisualStudio.MouseFastScroll.UnitTests/

0 commit comments

Comments
 (0)