From ededbb5ee783f9e4976ddf1ed7cf6a7aca086eea Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Fri, 29 Jan 2021 20:24:06 +0000
Subject: [PATCH] Add test artifacts to CI

---
 .gitlab-ci.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d796dc5..cf6a772 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,8 +3,12 @@ stages:
 
 run_tests:
   stage: test
-  image: "debian:bullseye"
+  image: registry.git.autistici.org/ai3/docker/test/golang:master
   script:
-    - "apt update"
-    - "env DEBIAN_FRONTEND=noninteractive apt -y install golang git"
-    - "go test -v ./..."
+    - run-go--test ./...
+  artifacts:
+    when: always
+    reports:
+      cobertura: cover.xml
+      junit: report.xml
+
-- 
GitLab