Add "go test" to drone suite
This commit is contained in:
parent
9b5ad472c7
commit
b958b0e8df
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: test_draftbot
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- cd ./draftbot
|
||||||
|
- GOPROXY=https://modules.fromouter.space go mod download
|
||||||
|
- CGO_ENABLED=0 go test .
|
||||||
|
|
||||||
- name: build_draftbot
|
- name: build_draftbot
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue