Skip to content

Commit 2f4b1f7

Browse files
authored
Merge pull request #6118 from Vogel612/codecov-yaml-shenanigans
fix codecov yml
2 parents 62e5acc + 665ef3a commit 2f4b1f7

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ on_success:
7171
- ps: |
7272
$ProgressPreference = 'SilentlyContinue'
7373
Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe
74-
./codecov.exe -f '*_Coverage.xml'
74+
./codecov.exe -f 'Rubberduck_Coverage.xml' -X search
75+
./codecov.exe -f 'RubberduckCodeAnalysis_Coverage.xml' -X search
7576
# choco install gnupg --no-progress --limit-output --confirm --execution-timeout=60
7677
# Invoke-WebRequest -Uri https://keybase.io/codecovsecurity/pgp_keys.asc -OutFile codecov.asc
7778
# gpg.exe --import codecov.asc

codecov.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,32 @@ codecov:
33

44
ignore:
55
# as requested by MDoerner, because they aren't really testable
6-
- Rubberduck.VBEEditor
7-
- Rubberduck.VBEditor.*
6+
- "Rubberduck.VBEEditor"
7+
- "Rubberduck.VBEditor.*"
88
# it makes no sense to track coverage on unit-tests
9-
- RubberduckTests
9+
- "RubberduckTests"
1010
# xaml files are not checked for coverage
1111
# AutoGenerated files are not contributing to coverage
12-
- **/*.Designer.cs
12+
- "**/*.Designer.cs"
1313

1414
coverage:
1515
round: nearest
1616
precision: 2
1717
range: 40..80
1818
status:
19-
# status information for PRs only
20-
only_pulls: true
2119
patch:
2220
default:
21+
# status information for PRs only
22+
only_pulls: true
2323
# don't block mindlessly on coverage failures
2424
informational: true
2525
# strongly suggest more than 60% of changes be covered
2626
target: 60
2727
threshold: 10
2828
project:
2929
default:
30+
# status information for PRs only
31+
only_pulls: true
3032
# don't block mindlessly on coverage failures
3133
informational: true
3234
target: 0 # don't force a minimum coverage

0 commit comments

Comments
 (0)