From 961a8de916905c5cff6f678177852a8e835b475c Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Fri, 26 Oct 2018 13:39:56 -0600 Subject: [PATCH] Add coverage report --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c22f4d2..ba2217e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,9 @@ test: GIN_MODE: debug script: - go get -v -t ./... - - go test -v + - go test -v -coverprofile=$CI_PROJECT_DIR/coverage.out + artifacts: + - coverage.out build: stage: build