Skip to content

Commit

Permalink
ci: migrate all codecov status configs to components
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed May 9, 2024
1 parent c6bb121 commit 51218f9
Showing 1 changed file with 35 additions and 42 deletions.
77 changes: 35 additions & 42 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 51218f9

Please sign in to comment.