-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
78 lines (75 loc) · 2.63 KB
/
Copy pathcodecov.yml
File metadata and controls
78 lines (75 loc) · 2.63 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# https://docs.codecov.com/docs/codecovyml-reference
coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: true # на старте не блокируем мерж по покрытию
patch:
default:
target: auto
threshold: 1%
informational: true
comment:
layout: "reach, diff, flags, components, files"
require_changes: false
# Per-component coverage breakdown (Codecov Components).
# https://docs.codecov.com/docs/components
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 1%
informational: true
individual_components:
- component_id: app_api
name: apps/api
paths: ["apps/api/**"]
- component_id: app_worker
name: apps/worker
paths: ["apps/worker/**"]
- component_id: app_verticals
name: apps/vertical-*
paths: ["apps/vertical-*/**"]
- component_id: pkg_kb
name: kb
paths: ["packages/kb/**"]
- component_id: pkg_sales
name: sales
paths: ["packages/sales/**"]
- component_id: pkg_conversation_engine
name: conversation-engine
paths: ["packages/conversation-engine/**"]
- component_id: pkg_llm_router
name: llm-router
paths: ["packages/llm-router/**"]
- component_id: pkg_storage
name: storage
paths: ["packages/storage/**"]
- component_id: pkg_verticals
name: verticals
paths: ["packages/verticals/**"]
- component_id: pkg_channels
name: channels (telegram/whatsapp/facebook/web/core)
paths: ["packages/channel-*/**"]
- component_id: pkg_observability
name: observability
paths: ["packages/observability/**"]
# Меряем packages/* + apps/api/worker/verticals (в CI гоняются с --coverage).
# Фронтенды (admin-ui/landing/widget) без юнит-покрытия — исключаем.
ignore:
- "apps/admin-ui/**"
- "apps/landing/**"
- "apps/widget/**"
# Live-eval CLI (#515): main()-флоу строит реальные LLM-клиенты из БД/секретов
# под import.meta.main и из тестов недостижим; экспортированные чистые функции
# покрыты. Сосед run-tool-regressions.ts остаётся в учёте (99%+).
- "apps/api/scripts/run-answer-step-eval.ts"
- "**/*.test.ts"
- "**/*.spec.ts"
- "**/dist/**"
- "**/*.config.ts"
# PDF-парсер требует реальных PDF-файлов и библиотеки unpdf — недостижим из юнит-тестов.
- "packages/kb/src/parse-pdf.ts"