Split up codecov steps
This commit is contained in:
parent
2b77cfebf9
commit
2250713c05
19
.drone.yml
19
.drone.yml
@ -8,18 +8,21 @@ steps:
|
|||||||
- apk add shellcheck
|
- apk add shellcheck
|
||||||
- shellcheck abra
|
- shellcheck abra
|
||||||
|
|
||||||
# - name: run unit tests
|
- name: run unit tests
|
||||||
# image: docker:dind
|
image: docker:dind
|
||||||
# commands:
|
commands:
|
||||||
# - apk add bats curl
|
- apk add bats curl
|
||||||
# - bats test.bats
|
- bats test.bats
|
||||||
|
|
||||||
- name: collect code coverage
|
- name: collect code coverage
|
||||||
image: robertstettner/drone-codecov
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- apk add bash-completion
|
- apk add bash-completion
|
||||||
- mkdir -p coverage && kcov coverage abra
|
- mkdir -p coverage
|
||||||
- /bin/drone-codecov -s coverage
|
- kcov coverage abra
|
||||||
|
|
||||||
|
- name: send code coverage report to codecov
|
||||||
|
image: robertstettner/drone-codecov
|
||||||
secrets:
|
secrets:
|
||||||
- codecov_token
|
- codecov_token
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user