From c29987b8ed9a3cdd3a5b1a36fcede42431c5edc2 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 17 Apr 2021 00:44:32 +0100
Subject: [PATCH] Add test stage to CI

---
 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f0bc44..57f6ae7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,2 +1,12 @@
 include: "https://git.autistici.org/ai3/build-container/raw/master/common.yml"
 
+stages:
+  - test
+  - build
+  - release
+
+test:
+  stage: test
+  image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golang:1.16
+  script:
+    - go test -v ./...
-- 
GitLab