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
|
||||
- shellcheck abra
|
||||
|
||||
# - name: run unit tests
|
||||
# image: docker:dind
|
||||
# commands:
|
||||
# - apk add bats curl
|
||||
# - bats test.bats
|
||||
- name: run unit tests
|
||||
image: docker:dind
|
||||
commands:
|
||||
- apk add bats curl
|
||||
- bats test.bats
|
||||
|
||||
- name: collect code coverage
|
||||
image: robertstettner/drone-codecov
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add bash-completion
|
||||
- mkdir -p coverage && kcov coverage abra
|
||||
- /bin/drone-codecov -s coverage
|
||||
- mkdir -p coverage
|
||||
- kcov coverage abra
|
||||
|
||||
- name: send code coverage report to codecov
|
||||
image: robertstettner/drone-codecov
|
||||
secrets:
|
||||
- codecov_token
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user