diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1a51e90d..59c4e5244 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,7 +60,7 @@ tests: - mkdir -p /var/log/audit/ - touch /var/log/audit/audit.log /var/log/audit/audit.log.1 - go test ./cmd/... -v -cover -coverprofile=coverage.out - - go test ./pkg/... -v -cover -coverprofile=coverage.out + - go test $(go list ./pkg/... | grep -v /pkg/paths) -v -cover -coverprofile=coverage.out - go tool cover -func=coverage.out