aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-06-10 18:03:12 +0200
committerMax Magorsch <arzano@gentoo.org>2020-06-10 18:04:06 +0200
commit3b63b031fc05f49750f46d1b40751413ebcc4a47 (patch)
tree27fc38074aa025f4162863aa50728c0b9067c8d5
parentRename the version comparison tests (diff)
downloadsoko-3b63b031fc05f49750f46d1b40751413ebcc4a47.tar.gz
soko-3b63b031fc05f49750f46d1b40751413ebcc4a47.tar.bz2
soko-3b63b031fc05f49750f46d1b40751413ebcc4a47.zip
Run the go tests using gitlab ci
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e516804..90b9013 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,11 @@ build:
- docker push $UPDATER_IMAGE_TAG
- docker push $LATEST_UPDATER_IMAGE_TAG
+test:
+ stage: test
+ script:
+ - go test -v ./pkg/models/...
+
include:
- template: Dependency-Scanning.gitlab-ci.yml
- template: Container-Scanning.gitlab-ci.yml