summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b50f86..898fa7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: golang:alpine
stages:
- build
+ - test
go_build:
stage: build
@@ -13,3 +14,10 @@ go_build:
- apk add --no-cache git
script:
- go build -o stanuki cmd/stanuki/main.go
+
+go_test:
+ stage: test
+ before_script:
+ - apk add --no-cache git
+ script:
+ - go test ./...