Skip to content

Commit e85304f

Browse files
authored
Merge pull request #3667 from Vogel612/codecov_take2
Codecov take2
2 parents abb589d + b6fc433 commit e85304f

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

appveyor.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ platform: Any CPU
3333
cache:
3434
- packages/ -> **/packages.config
3535

36-
3736
install:
3837
set PATH=C:\Program Files (x86)\MSBuild\15.0\Bin;%PATH%
3938
assembly_info:
@@ -42,10 +41,17 @@ assembly_info:
4241
assembly_version: '{version}'
4342

4443
before_build:
45-
cinst innosetup
44+
- cinst innosetup
45+
- cinst codecov
46+
- cinst opencover.portable
47+
- nuget restore
4648
build:
4749
verbosity: minimal
4850

51+
test_script:
52+
- OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:".\RubberduckTests\bin\Release\RubberduckTests.dll" -output:".\Rubberduck_Coverage.xml"
53+
- codecov -f "Rubberduck_Coverage.xml"
54+
4955
before_package:
5056
- copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
5157

codecov.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
codecov:
2+
branch:
3+
- next
4+
- master
5+
ci:
6+
- appveyor
7+
max_report_age: off
8+
9+
coverage:
10+
round: nearest
11+
precision: 2
12+
range: 40..80

0 commit comments

Comments
 (0)