From 9f67866e95cb8892250cc2e86b72bb5b5a410f73 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Mon, 1 Nov 2021 11:21:57 -0500 Subject: [PATCH] include subpackages in coverage --- .gitlab/.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index 40c077fcc..7f51ef456 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -64,7 +64,7 @@ run go tests: extends: .go-cache script: - echo "Running featurebase unit tests..." - - go test -covermode=atomic -coverprofile=coverage.out + - go test -covermode=atomic -coverpkg=./... -coverprofile=coverage.out ./... artifacts: paths: - coverage.out