From f6edab823a4748563fbe9786a2cf90eb8352575e Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Fri, 29 Jan 2021 20:42:48 +0000 Subject: [PATCH] Add test coverage artifacts to CI --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2be34af..a353b1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1 +1,26 @@ include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-nextstable.yml" + +stages: + - test + - build_pkgsrc + - build_pkg + - upload_pkg + +build_pkgsrc:bullseye: + only: + - master + +build_pkg:bullseye:amd64: + only: + - master + +test: + stage: test + image: registry.git.autistici.org/ai3/docker/test/golang:master + script: + - run-go-test ./... + artifacts: + when: always + reports: + cobertura: cover.xml + junit: report.xml -- GitLab