Turn on code-cov for PR checking of unit test coverage (#36548)
This commit is contained in:
parent
f1c2b28608
commit
6ba45889b6
61
.codecov.yml
61
.codecov.yml
|
@ -1,27 +1,46 @@
|
||||||
codecov:
|
codecov:
|
||||||
notify:
|
notify:
|
||||||
require_ci_to_pass: yes
|
require_ci_to_pass: yes
|
||||||
|
|
||||||
|
ignore:
|
||||||
|
- '**/tests'
|
||||||
|
- '**/test'
|
||||||
|
- 'tools/**'
|
||||||
|
- 'packages/js/admin-e2e-tests'
|
||||||
|
- 'packages/js/api-core-tests'
|
||||||
|
- 'packages/js/create-woo-extension'
|
||||||
|
- 'packages/js/e2e-core-tests'
|
||||||
|
- 'packages/js/e2e-environment'
|
||||||
|
- 'packages/js/e2e-utils'
|
||||||
|
- 'packages/js/eslint-plugin'
|
||||||
|
- 'packages/js/internal-e2e-builds'
|
||||||
|
- 'packages/js/internal-js-tests'
|
||||||
|
- 'packages/js/internal-style-build'
|
||||||
|
- '**/*.test.*'
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
precision: 2
|
precision: 1
|
||||||
round: nearest
|
round: nearest
|
||||||
range: "50...100"
|
range: '50...80'
|
||||||
|
|
||||||
status:
|
|
||||||
project:
|
|
||||||
default:
|
|
||||||
informational: true
|
|
||||||
patch:
|
|
||||||
default:
|
|
||||||
informational: true
|
|
||||||
changes: off
|
|
||||||
|
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
target: auto
|
||||||
|
patch:
|
||||||
|
default:
|
||||||
|
target: auto
|
||||||
parsers:
|
parsers:
|
||||||
gcov:
|
gcov:
|
||||||
branch_detection:
|
branch_detection:
|
||||||
conditional: yes
|
conditional: yes
|
||||||
loop: yes
|
loop: yes
|
||||||
method: no
|
method: no
|
||||||
macro: no
|
macro: no
|
||||||
|
|
||||||
comment: false
|
comment:
|
||||||
|
layout: 'reach, diff, flags, files'
|
||||||
|
behavior: default
|
||||||
|
require_changes: false
|
||||||
|
require_base: no
|
||||||
|
require_head: yes
|
||||||
|
|
Loading…
Reference in New Issue