-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: migrate codecov to use components and flags
- Loading branch information
1 parent
a5789cf
commit 5f9b6d7
Showing
2 changed files
with
46 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,52 @@ | ||
comment: | ||
require_changes: true | ||
|
||
coverage: | ||
status: | ||
patch: | ||
default: false | ||
tests: | ||
target: 100% | ||
paths: | ||
- tests/ | ||
core: | ||
paths: | ||
- cloudbot/ | ||
target: 100% | ||
plugins: | ||
paths: | ||
- plugins/ | ||
project: | ||
tests: | ||
target: 100% | ||
paths: | ||
- tests/ | ||
core: | ||
paths: | ||
- cloudbot/ | ||
plugins: | ||
paths: | ||
- plugins/ | ||
default: false | ||
|
||
component_management: | ||
individual_components: | ||
- component_id: types | ||
name: types | ||
flag_regexes: | ||
- types | ||
statuses: | ||
- type: patch | ||
target: 90% | ||
|
||
- 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 |