Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Commit 4eeaae7

Browse files
authored
Merge pull request #58 from sharwell/codecov-updates
Update codecov.io configuration
2 parents 1e9fb71 + 63bf413 commit 4eeaae7

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.codecov.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# https://docs.codecov.io/docs/codecov-yaml
2+
# https://github.com/codecov/support/wiki/Codecov-Yaml
3+
4+
coverage:
5+
status:
6+
project:
7+
default: false
8+
patch:
9+
default: false
10+
11+
comment:
12+
layout: "diff, flags, files, footer"
13+
14+
flags:
15+
production:
16+
paths:
17+
- AsyncUsageAnalyzers/AsyncUsageAnalyzers/
18+
- AsyncUsageAnalyzers/AsyncUsageAnalyzers.CodeFixes/
19+
test:
20+
paths:
21+
- AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/

.nuget/packages.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3+
<package id="Codecov" version="1.0.1" />
34
<package id="NuGet.CommandLine" version="2.8.3" />
4-
<package id="OpenCover" version="4.6.247-rc" />
5+
<package id="OpenCover" version="4.6.519" />
56
</packages>

appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ build:
1010
project: AsyncUsageAnalyzers.sln
1111
verbosity: minimal
1212
test_script:
13-
- .\packages\OpenCover.4.6.247-rc\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\asyncusageanalyzers\AsyncUsageAnalyzers\AsyncUsageAnalyzers.Test\bin\Debug\AsyncUsageAnalyzers.Test.dll -noshadow -appveyor" -returntargetcode -filter:"+[AsyncUsage*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\AsyncUsageAnalyzers_coverage.xml
14-
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
15-
- pip install codecov
16-
- codecov -f "AsyncUsageAnalyzers_coverage.xml"
13+
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"C:\projects\asyncusageanalyzers\AsyncUsageAnalyzers\AsyncUsageAnalyzers.Test\bin\Debug\AsyncUsageAnalyzers.Test.dll -noshadow -appveyor" -returntargetcode -filter:"+[AsyncUsage*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\AsyncUsageAnalyzers_coverage.xml
14+
- .\packages\Codecov.1.0.1\tools\codecov.exe -f "AsyncUsageAnalyzers_coverage.xml"
1715
# preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
1816
cache:
1917
- packages -> **\packages.config

0 commit comments

Comments
 (0)