From 7c35eb97526a8078be33822dcc5bae4bfa96b782 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Fri, 29 Jan 2021 11:17:10 +0000 Subject: [PATCH] Flip order of steps to avoid messing with go.mod --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08bb3e03..3bbff13d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,8 +18,8 @@ test: stage: test image: golang:1.14 script: - - go get github.com/boumenot/gocover-cobertura - go test -v -cover -coverprofile=cover.out ./... + - go get github.com/boumenot/gocover-cobertura - gocover-cobertura < cover.out > cover.xml artifacts: reports: -- GitLab