Add code coverage CI
This commit is contained in:
parent
1e059ffe7f
commit
6d6208a63c
10
.drone.yml
10
.drone.yml
@ -13,6 +13,16 @@ steps:
|
||||
commands:
|
||||
- apk add bats curl
|
||||
- bats test.bats
|
||||
|
||||
- name: collect code coverage
|
||||
image: robertstettner/drone-codecov
|
||||
commands:
|
||||
- apk add kcov
|
||||
- mkdir -p coverage && kcov coverage abra
|
||||
- /bin/drone-codecov -s coverage
|
||||
secrets:
|
||||
- codecov_token
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
Reference in New Issue
Block a user