diff --git a/codecov.yml b/codecov.yml index 8d8ae6aa..3e18c615 100644 --- a/codecov.yml +++ b/codecov.yml @@ -6,46 +6,39 @@ component_management: name: types flag_regexes: - types + statuses: + - type: patch + target: 90% -coverage: - status: - patch: - default: false - types: - target: 90% - flags: - - types - tests: - target: 100% - paths: - - tests/ - flags: - - unittests - core: - paths: - - cloudbot/ - target: 100% - flags: - - unittests - plugins: - paths: - - plugins/ - flags: - - unittests - project: - tests: - target: 100% - paths: - - tests/ - flags: - - unittests - core: - paths: - - cloudbot/ - flags: - - unittests - plugins: - paths: - - plugins/ - flags: - - unittests + - component_id: tests + name: tests + flag_regexes: + - unittests + paths: + - tests/ + statuses: + - type: patch + target: 100% + - type: project + target: 100% + + - component_id: core + name: core + flag_regexes: + - unittests + paths: + - cloudbot/ + statuses: + - type: patch + target: 100% + - type: project + + - component_id: plugins + name: plugins + flag_regexes: + - unittests + paths: + - plugins/ + statuses: + - type: patch + - type: project