generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.testcoverage.yml
66 lines (62 loc) · 1.96 KB
/
.testcoverage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# (mandatory)
# Path to coverage profile file (output of `go test -coverprofile` command).
#
# For cases where there are many coverage profiles, such as when running
# unit tests and integration tests separately, you can combine all those
# profiles into one. In this case, the profile should have a comma-separated list
# of profile files, e.g., 'cover_unit.out,cover_integration.out'.
profile: coverage.out
# (optional; but recommended to set)
# When specified reported file paths will not contain local prefix in the output.
local-prefix: "github.com/cloudwego/eino-ext"
# Holds coverage thresholds percentages, values should be in range [0-100].
threshold:
# (optional; default 0)
# Minimum overall project coverage percentage required.
total: 66
package: 70
file: 0 # Set to 0 to effectively ignore file-level coverage checks
override:
# Adjust coverage threshold to xx% for specific packages.
- path: ^libs/acl/langfuse
threshold: 0
- path: ^callbacks/langfuse
threshold: 0
- path: ^components/document/loader/file
threshold: 0
- path: ^components/retriever/es8
threshold: 0
- path: ^components/indexer/es8
threshold: 0
- path: ^components/model/openai
threshold: 0
- path: ^libs/acl/openai
threshold: 0
- path: ^devops
threshold: 0
- path: ^components/model/gemini
threshold: 0
- path: ^components/model/qwen
threshold: 0
- path: ^components/retriever/volc_knowledge
threshold: 0
- path: ^components/model/claude
threshold: 0
- path: ^components/embedding/qianfan
threshold: 0
- path: ^components/indexer/redis
threshold: 0
- path: ^components/model/qianfan
threshold: 0
- path: ^components/tool/duckduckgo
threshold: 0
- path: ^components/retriever/volc_vikingdb
threshold: 0
# Holds regexp rules which will exclude matched files or packages
# from coverage statistics.
exclude:
# Exclude files or packages matching their paths
paths:
- "tests"
- "examples/"
- "mock/"