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:
|
||||
notify:
|
||||
require_ci_to_pass: yes
|
||||
notify:
|
||||
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:
|
||||
precision: 2
|
||||
round: nearest
|
||||
range: "50...100"
|
||||
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
informational: true
|
||||
patch:
|
||||
default:
|
||||
informational: true
|
||||
changes: off
|
||||
precision: 1
|
||||
round: nearest
|
||||
range: '50...80'
|
||||
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
target: auto
|
||||
patch:
|
||||
default:
|
||||
target: auto
|
||||
parsers:
|
||||
gcov:
|
||||
branch_detection:
|
||||
conditional: yes
|
||||
loop: yes
|
||||
method: no
|
||||
macro: no
|
||||
gcov:
|
||||
branch_detection:
|
||||
conditional: yes
|
||||
loop: yes
|
||||
method: 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