forked from GoogleForCreators/web-stories-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
51 lines (45 loc) · 1.18 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
# 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: 60%
threshold: 10%
if_not_found: success
if_ci_failed: error
php:
paths:
- includes
dashboard:
paths:
- assets/src/dashboard
editor:
paths:
- assets/src/edit-story
# 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: 80%
threshold: 10%
if_not_found: success
if_ci_failed: error
# Pull request comments
# See https://docs.codecov.io/docs/pull-request-comments
comment:
layout: 'reach, diff, flags, files'
behavior: default
require_changes: true
branches:
- 'master'