add codecov repo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
6a5e7570ad
commit
b5c380d16b
12
.drone.yml
12
.drone.yml
@ -12,7 +12,7 @@ pipeline:
|
||||
test:
|
||||
image: appleboy/golang-testing
|
||||
pull: true
|
||||
secrets: [ codecov_token, telegram_token, telegram_to ]
|
||||
secrets: [ telegram_token, telegram_to ]
|
||||
commands:
|
||||
- make vet
|
||||
- make lint
|
||||
@ -20,10 +20,16 @@ pipeline:
|
||||
- make misspell-check
|
||||
- make test
|
||||
- make coverage
|
||||
- make build
|
||||
# build binary for docker image
|
||||
- make static_build
|
||||
|
||||
codecov:
|
||||
image: robertstettner/drone-codecov
|
||||
secrets: [ codecov_token ]
|
||||
files:
|
||||
- .cover/coverage.txt
|
||||
when:
|
||||
event: [ push, pull_request ]
|
||||
|
||||
release:
|
||||
image: appleboy/golang-testing
|
||||
pull: true
|
||||
|
Loading…
Reference in New Issue
Block a user