Skip to content

Commit b0933e8

Browse files
author
mutouyun
committed
feat(ci): add codecov.yml to exclude 3rdparty from coverage
Add codecov configuration file to exclude directories from coverage report: - Exclude 3rdparty/** directory (third-party libraries) - Exclude test/** directory (test code) - Exclude demo/** directory (demo applications) This ensures only project source code is included in coverage metrics.
1 parent 59a323a commit b0933e8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

codecov.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
codecov:
2+
require_ci_to_pass: yes
3+
4+
coverage:
5+
precision: 2
6+
round: down
7+
range: "70...100"
8+
9+
status:
10+
project:
11+
default:
12+
target: auto
13+
threshold: 0%
14+
base: auto
15+
patch:
16+
default:
17+
target: auto
18+
threshold: 0%
19+
base: auto
20+
21+
ignore:
22+
- "3rdparty/**/*"
23+
- "3rdparty/**"
24+
- "test/**/*"
25+
- "demo/**/*"
26+
27+
comment:
28+
layout: "reach,diff,flags,tree"
29+
behavior: default
30+
require_changes: false

0 commit comments

Comments
 (0)