-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcoverage.yaml
More file actions
44 lines (41 loc) · 1.5 KB
/
coverage.yaml
File metadata and controls
44 lines (41 loc) · 1.5 KB
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
# 覆盖率阈值配置文件
# Coverage Threshold Configuration File
#
# 注意:文件排除配置已迁移到 pyproject.toml 的 [tool.coverage.*] 部分
# Note: File exclusion settings have been moved to [tool.coverage.*] in pyproject.toml
# ============================================================================
# 全量代码覆盖率要求
# ============================================================================
full:
# 分支覆盖率要求 (百分比)
branch_coverage: 0
# 行覆盖率要求 (百分比)
line_coverage: 0
# ============================================================================
# 增量代码覆盖率要求 (相对于基准分支的变更代码)
# ============================================================================
incremental:
# 分支覆盖率要求 (百分比)
branch_coverage: 0
# 行覆盖率要求 (百分比)
line_coverage: 0
# ============================================================================
# 特定目录的覆盖率要求
# 可以为特定目录设置不同的覆盖率阈值
# ============================================================================
directory_overrides:
# 示例:为特定目录设置不同的阈值
agentrun/knowledgebase:
full:
branch_coverage: 0
line_coverage: 0
incremental:
branch_coverage: 0
line_coverage: 0
agentrun/utils:
full:
branch_coverage: 90
line_coverage: 90
incremental:
branch_coverage: 90
line_coverage: 90