Skip to content

Commit 1cc096d

Browse files
authored
use flags in project status checks
1 parent 305ee99 commit 1cc096d

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

codecov.yml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
codecov:
2-
branch:
3-
- next
4-
- master
2+
branch: next
53
ci:
64
- appveyor
75
max_report_age: off
6+
7+
ignore:
8+
# as requested by MDoerner, because they aren't really testable
9+
- Rubberduck.VBEEditor
10+
# it makes no sense to track coverage on unit-tests
11+
- RubberduckTests
812

913
coverage:
1014
round: nearest
@@ -13,26 +17,29 @@ coverage:
1317
status:
1418
# don't check patch coverage
1519
patch: off
16-
changes: yes
17-
# allow decrease by up to 5 %
18-
threshold: 5
19-
base: auto
20+
changes:
21+
base: auto
2022
project:
23+
default:
24+
target: 0 # don't force a minimum coverage
25+
# allow decrease by up to 5 %
26+
threshold: 5
27+
base: auto
2128
core:
2229
# restrict core decrease to 1.5%
2330
threshold: 1.5
2431
flags: core
32+
ui:
33+
flags: ui
34+
inspections:
35+
flags: inspections
36+
tools:
37+
flags: tools
2538

2639
comment:
27-
layout: "diff, files, changes, footer"
40+
layout: "flags, diff, files"
2841
behavior: new
2942
require_changes: yes
30-
31-
ignore:
32-
# as requested by MDoerner, because they aren't really testable
33-
- Rubberduck.VBEEditor
34-
# it makes no sense to track coverage on unit-tests
35-
- RubberduckTests
3643

3744
flags:
3845
core:

0 commit comments

Comments
 (0)