ci: add test stage to run tests
This commit is contained in:
parent
05deed2452
commit
e69ffa6f37
1 changed files with 7 additions and 0 deletions
|
|
@ -2,10 +2,17 @@ default:
|
|||
image: docker:git
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- pre-release
|
||||
- release
|
||||
|
||||
test:
|
||||
stage: test
|
||||
image: golang:alpine
|
||||
script:
|
||||
- go test ./... -v
|
||||
|
||||
build:
|
||||
stage: build
|
||||
variables:
|
||||
|
|
|
|||
Reference in a new issue