-
Notifications
You must be signed in to change notification settings - Fork 22
/
codecov.yml
88 lines (80 loc) · 1.74 KB
/
codecov.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
codecov:
require_ci_to_pass: true
ai_pr_review:
enabled: false
coverage:
precision: 2
round: down
range: '60...85'
status:
project: yes
patch: true
changes: false
github_checks:
annotations: false
comment:
layout: 'diff, flags, files, components, footer'
behavior: default
require_changes: false
require_base: false
require_head: true
after_n_builds: 9 # ceil(number of test files / 80). See ci.yml for more details.
ignore:
- ./src/**/*.stories.js
- ./src/**/*.stories.jsx
- ./src/**/*.stories.ts
- ./src/**/*.stories.tsx
- ./src/setupTests.js
- ./src/setupProxy.js
- ./src/ts-override.d.ts
- ./src/types.ts
- ./src/vite-env.d.ts
- ./src/vitest.setup.ts
- ./src/reportWebVitals.js
- ./scripts/*
- ./src/index.ts
- ./src/sentry.ts
- ./src/mocks/*.js
- ./src/**/flags/**/*.js
- ./src/**/mocks.js
- ./src/**/mocks.ts
- ./src/pages/RepoPage/repo-test-setup.js
- ./src/ui/SunburstChart/*.jsx
- ./src/ui/SunburstChart/*.js
- './src/**/*.svg'
- './src/**/*.png'
- './src/**/*.jpg'
component_management:
default_rules:
statuses:
- type: patch
target: auto
branches:
- '!main'
individual_components:
- component_id: dir_assets
name: Assets
paths:
- src/assets/**
- component_id: dir_layouts
name: Layouts
paths:
- src/layouts/**
- component_id: dir_pages
name: Pages
paths:
- src/pages/**
- component_id: dir_services
name: Services
paths:
- src/services/**
- component_id: dir_shared
name: Shared
paths:
- src/shared/**
- component_id: dir_ui
name: UI
paths:
- src/ui/**
test_analytics:
flake_detection: true