Skip to content

Commit

Permalink
codecov: splitting up projects
Browse files Browse the repository at this point in the history
Fixes: openanolis#23

Signed-off-by: wllenyj <[email protected]>
  • Loading branch information
wllenyj committed Mar 17, 2022
1 parent 2942974 commit 2ba86f0
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 2 deletions.
87 changes: 86 additions & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,87 @@
coverage:
status:
patch:
default:
target: 85%
project:
default:
target: auto
threshold: 2%
dbs-address-space:
target: auto
threshold: 2%
flags:
- dbs-address-space
dbs-allocator:
target: auto
threshold: 2%
flags:
- dbs-allocator
dbs-arch:
target: auto
threshold: 2%
flags:
- dbs-arch
dbs-boot:
target: auto
threshold: 2%
flags:
- dbs-boot
dbs-device:
target: auto
threshold: 2%
flags:
- dbs-device
dbs-interrupt:
target: auto
threshold: 2%
flags:
- dbs-interrupt
dbs-legacy-devices:
target: auto
threshold: 2%
flags:
- dbs-legacy-devices
dbs-utils:
target: auto
threshold: 2%
flags:
- dbs-utils
dbs-virtio-devices:
target: auto
threshold: 2%
flags:
- dbs-virtio-devices


flags:
dbs-address-space:
paths:
- dbs-address-space/
dbs-allocator:
paths:
- dbs-allocator/
dbs-arch:
paths:
- dbs-arch/
dbs-boot:
paths:
- dbs-boot/
dbs-device:
paths:
- dbs-device/
dbs-interrupt:
paths:
- dbs-interrupt/
dbs-legacy-devices:
paths:
- dbs-legacy-devices/
dbs-utils:
paths:
- dbs-utils/
dbs-virtio-devices:
paths:
- dbs-virtio-devices/

ignore:
- "/crates/dbs-boot/src/x86_64/bootparam.rs"
- "crates/dbs-boot/src/x86_64/bootparam.rs"
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ jobs:
# token: ${{ secrets.CODECOV_TOKEN }}
files: ./lcov.info
fail_ci_if_error: true
config: .github/codecov.yml

0 comments on commit 2ba86f0

Please sign in to comment.