-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcodecov.yml
More file actions
53 lines (45 loc) · 1.41 KB
/
codecov.yml
File metadata and controls
53 lines (45 loc) · 1.41 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
# valid this file: curl --data-binary @codecov.yml https://codecov.io/validate
# reference doc: https://docs.codecov.com/docs/common-recipe-list#set-project-coverage-checks-on-a-pull-request
codecov:
require_ci_to_pass: true
notify:
wait_for_ci: true
ignore:
- 'packages/ci-tools'
coverage:
status:
project:
default:
target: 80%
threshold: 1%
patch:
default:
target: 80%
threshold: 5%
github_checks:
annotations: false
comment:
layout: 'header, diff, components, files' # show component info in the PR comment
require_changes: false # if true: only post the comment if coverage changes
require_base: false # [true :: must have a base report to post]
require_head: true # [true :: must have a head report to post]
hide_project_coverage: true # [true :: only show coverage on the git diff aka patch coverage]]
# reference doc: https://docs.codecov.com/docs/components
component_management:
default_rules: # default rules that will be inherited by all components
statuses:
- type: project
target: 80%
threshold: 1%
- type: patch
target: 80%
threshold: 5%
individual_components:
- component_id: cozeloop-ai
name: '@cozeloop/ai'
paths:
- packages/cozeloop-ai/**
- component_id: cozeloop-langchain
name: '@cozeloop/langchain'
paths:
- packages/cozeloop-langchain/**