From e69ffa6f3715ad455e52e2c1285bfdac72c43c89 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sun, 12 May 2024 22:15:49 +0200 Subject: [PATCH] ci: add test stage to run tests --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 515354d..cf46386 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: