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:
|
commands:
|
||||||
- apk add bats curl
|
- apk add bats curl
|
||||||
- bats test.bats
|
- 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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
Reference in New Issue
Block a user