-
Notifications
You must be signed in to change notification settings - Fork 178
/
codecov.yml
98 lines (87 loc) · 2.26 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
89
90
91
92
93
94
95
96
97
98
# Overall settings for PR integration via codecov.io
# See https://docs.codecov.io/docs/codecovyml-reference
# Separate PR statuses for project-level and patch-level coverage
# See https://docs.codecov.io/docs/commit-status
coverage:
status:
# Project-level coverage
project:
default:
base: auto
# Disable once code base is more mature.
informational: true
only_pulls: true
target: auto
threshold: 1%
php:
paths:
- includes
dashboard:
paths:
- packages/dashboard/src
dashboard.unit:
paths:
- packages/dashboard/src
flags:
- unittests
dashboard.karma:
paths:
- packages/dashboard/src
flags:
- karmatests
editor:
paths:
- packages/story-editor/src
editor.unit:
paths:
- packages/story-editor/src
flags:
- unittests
editor.karma:
paths:
- packages/story-editor/src
flags:
- karmatests
# Patch-level coverage (how well is the PR tested)
patch:
default:
base: auto
# Disable once code base is more mature.
informational: true
only_pulls: true
target: auto
threshold: 50%
# Pull request comments
# See https://docs.codecov.io/docs/pull-request-comments
comment: false
# See https://docs.codecov.io/docs/ignoring-paths
ignore:
- bin
- tests
- .phpstorm.meta.php
- scoper.inc.php
- web-stories.php
- uninstall.php
- includes/namespace.php
- includes/compat
- includes/polyfills
- includes/templates
- includes/AMP/Integration/AMP_Story_Sanitizer.php
- includes/REST_API/Stories_Settings_Controller.php
- includes/REST_API/Stories_Users_Controller.php
- packages/e2e-tests
- packages/e2e-test-utils
- packages/eslint-import-resolver
- packages/fonts/scripts
- packages/jest-amp
- packages/jest-puppeteer-amp
- packages/jest-resolver
- packages/karma-failed-tests-reporter
- packages/karma-fixture
- packages/karma-puppeteer-client
- packages/karma-puppeteer-launcher
- packages/migration/scripts
- packages/templates/scripts
- packages/test-utils
- '**/storybookUtils'
- '**/testUtils'