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 3db1ed0
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 2 deletions.
93 changes: 92 additions & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,93 @@
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

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: yes
require_head: yes

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

ignore:
- "/crates/dbs-boot/src/x86_64/bootparam.rs"
- "crates/dbs-boot/src/x86_64/bootparam.rs"
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ jobs:
# required for private repositories:
# token: ${{ secrets.CODECOV_TOKEN }}
files: ./lcov.info
flags: dbs-address-space,dbs-allocator,dbs-arch,dbs-boot,dbs-device,dbs-interrupt,dbs-legacy-devices,dbs-utils,dbs-virtio-devices
fail_ci_if_error: true
config: .github/codecov.yml
verbose: true

0 comments on commit 3db1ed0

Please sign in to comment.