forked from ampproject/amp-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
42 lines (38 loc) · 907 Bytes
/
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
# See documentation at https://docs.codecov.io/docs/codecovyml-reference
coverage:
status:
# Patch-level coverage (how well is the PR tested)
patch:
default:
threshold: 75%
# Project-level coverage
project:
default:
target: auto
threshold: 0.1%
php:
paths:
- includes
- src
threshold: 0.1%
js:
paths:
- assets/src
threshold: 0.1%
# Pull request comments
# See https://docs.codecov.io/docs/pull-request-comments
comment:
layout: 'reach, diff, flags, files'
behavior: default
require_changes: true
branches:
- 'develop'
# Wait for Jest & PHPUnit & Behat reports before commenting
after_n_builds: 3
# See https://docs.codecov.io/docs/ignoring-paths
ignore:
- "/bin"
- "/back-compat"
- "/docs/**/*"
- ".phpstorm.meta.php"
- "/includes/ecosystem-data/*"