Turn on code-cov for PR checking of unit test coverage (#36548)

This commit is contained in:
Sam Seay 2023-02-09 22:08:36 +13:00 committed by GitHub
parent f1c2b28608
commit 6ba45889b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 21 deletions

View File

@ -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