From ce6e4ea19ac4d372c9f3526bcbfc947ffc3a9058 Mon Sep 17 00:00:00 2001 From: godog <godog@autistici.org> Date: Sat, 4 Apr 2020 15:58:19 +0200 Subject: [PATCH] Run tests via Gitlab CI --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ecfb469 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +stages: + - test + +run_tests: + stage: test + image: "debian:buster" + script: + - "apt update" + - "env DEBIAN_FRONTEND=noninteractive apt -y install golang git" + - "go test -v ./..." -- GitLab