Skip to content

Commit 45bd401

Browse files
authored
Merge pull request #164 from mutouyun/genspark_ai_developer
feat(ci): Exclude 3rdparty folder from CodeCov coverage report
2 parents 59a323a + 7d09346 commit 45bd401

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@ jobs:
3030
uses: codecov/[email protected]
3131
with:
3232
verbose: true
33+
exclude: |
34+
3rdparty/**
35+
test/**
36+
demo/**
3337
env:
3438
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

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)