Enable codecov flags and coverage carryover for keras_core and keras_core.applications (#841)
This commit is contained in:
parent
fcdce1cc25
commit
634f6d71f7
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,4 +18,4 @@ dist/**
|
||||
examples/**/*.jpg
|
||||
.python-version
|
||||
.coverage
|
||||
coverage.xml
|
||||
*coverage.xml
|
23
codecov.yml
23
codecov.yml
@ -9,4 +9,27 @@ coverage:
|
||||
default:
|
||||
target:auto
|
||||
|
||||
comment:
|
||||
layout: "header, reach, diff, flags, files"
|
||||
behavior: default
|
||||
require_changes: no
|
||||
require_base: no
|
||||
require_head: yes
|
||||
show_carryforward_flags: yes
|
||||
|
||||
flag_management:
|
||||
default_rules:
|
||||
carryforward: false
|
||||
statuses:
|
||||
- type: project
|
||||
target: auto
|
||||
- type: patch
|
||||
target: auto
|
||||
individual_flags:
|
||||
- name: keras_core
|
||||
paths:
|
||||
- keras_core
|
||||
- name: keras_core.applications
|
||||
paths:
|
||||
- keras_core/applications
|
||||
carryforward: true
|
||||
|
10
setup.cfg
10
setup.cfg
@ -20,10 +20,16 @@ exclude_lines =
|
||||
pragma: no cover
|
||||
@abstract
|
||||
raise NotImplementedError
|
||||
omit = *_test.py
|
||||
omit =
|
||||
*/*_test.py
|
||||
|
||||
[coverage:run]
|
||||
omit =
|
||||
*/*_test.py
|
||||
|
||||
branch = True
|
||||
|
||||
[flake8]
|
||||
|
||||
ignore =
|
||||
# Conflicts with black
|
||||
E203
|
||||
|
Loading…
Reference in New Issue
Block a user