-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcodecov.yml
More file actions
77 lines (72 loc) · 1.7 KB
/
Copy pathcodecov.yml
File metadata and controls
77 lines (72 loc) · 1.7 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
codecov:
require_ci_to_pass: true
notify:
wait_for_ci: true
coverage:
status:
project:
default:
target: auto
threshold: 1%
javascript:
flags:
- javascript
target: auto
threshold: 1%
python:
flags:
- python
target: auto
threshold: 1%
patch:
default:
target: auto
# Patch allows headroom for view-heavy PRs: chart/UI components leave a
# band of framework rendering internals (e.g. recharts tick/tooltip
# formatters) that don't execute under jsdom. Project gate stays strict
# at 1%; this only relaxes the per-PR diff requirement.
threshold: 8%
# Carry forward each flag's last good coverage when its workflow didn't run
# on this commit (e.g. python-modules.yml is path-filtered to modules/**, so
# a TS-only PR must not show python coverage as 0%).
flag_management:
default_rules:
carryforward: true
individual_flags:
- name: javascript
paths:
- src/
- app/
- lib/
- name: python
paths:
- modules/
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 1%
individual_components:
- component_id: javascript
name: TypeScript / React
paths:
- src/**
- app/**
- lib/**
- component_id: python
name: Pod Python modules
paths:
- modules/**
comment:
layout: "header, diff, flags, components, files"
behavior: default
require_changes: false
ignore:
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/test_*.py"
- "**/tests/**"
- ".next/**"
- "node_modules/**"
- "scripts/**"