pr1 #1
1 changed files with 10 additions and 10 deletions
commit
7e4927997a
20
.drone.yml
20
.drone.yml
|
|
@ -3,16 +3,16 @@ workspace:
|
|||
path: src
|
||||
|
||||
pipeline:
|
||||
test_pr:
|
||||
image: golang:alpine
|
||||
environment:
|
||||
- CGO_ENABLED=0
|
||||
- GOOS=linux
|
||||
commands:
|
||||
- go test -cover db.go
|
||||
- go test -cover srv.go
|
||||
when:
|
||||
event: [ push, pull_request ]
|
||||
#test_pr:
|
||||
# image: golang:alpine
|
||||
# environment:
|
||||
# - CGO_ENABLED=0
|
||||
# - GOOS=linux
|
||||
# commands:
|
||||
# - go test -cover db.go
|
||||
# - go test -cover srv.go
|
||||
# when:
|
||||
# event: [ push, pull_request ]
|
||||
|
||||
build_pr:
|
||||
image: golang:alpine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue