Skip to content

Commit e3e5113

Browse files
authored
Add an initial codecov.yml file to tell it to ignore test and example code (#1437)
Also tell it to split the plugin directory into a separate component
1 parent dcda271 commit e3e5113

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

codecov.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Components allow you to isolate and categorize coverage data from your project with virtual filters
2+
component_management:
3+
individual_components:
4+
- component_id: cmd2 # this is an identifier that should not be changed
5+
name: cmd2 # this is a display name, and can be changed freely
6+
paths:
7+
- cmd2/**
8+
- component_id: plugins
9+
name: plugins
10+
paths:
11+
- plugins/**
12+
13+
# Ignore certain paths, all files under these paths will be skipped during processing
14+
ignore:
15+
- "examples" # ignore example code folder
16+
- "tests" # ignore unit test code folder
17+
- "tests_isolated" # ignore integration test code folder

0 commit comments

Comments
 (0)