diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04b79b86..51f76b4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,8 @@ tests: - chmod 755 /usr/bin/journalctl - mkdir -p /var/log/audit/ - touch /var/log/audit/audit.log /var/log/audit/audit.log.1 - - go test ./cmd/... ./pkg/... -v -cover -coverprofile=coverage.out + - go test ./cmd/... -v -cover -coverprofile=coverage.out + - go test ./pkg/... -v -cover -coverprofile=coverage.out - go tool cover -func=coverage.out diff --git a/Makefile b/Makefile index 5479a3df..c0c0c744 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,8 @@ rpm: @make local tests: - @go test ./cmd/... ./pkg/... -v -cover -coverprofile=coverage.out + @go test ./cmd/... -v -cover -coverprofile=coverage.out + @go test ./pkg/... -v -cover -coverprofile=coverage.out @go tool cover -func=coverage.out lint: