From f9c4f4d42e3363073b16580f53593ce340011a13 Mon Sep 17 00:00:00 2001 From: Michelangelo Mori Date: Wed, 30 Oct 2024 13:36:52 +0100 Subject: [PATCH] Measure coverage for `pkg` folder. We recently moved a fair amount of code under from `internal` to the `pkg` folder. This fixes our CI configuration to measure coverage for that package as well. --- .mk/test.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mk/test.mk b/.mk/test.mk index f5b8cd96a8..00e8d2c7fc 100644 --- a/.mk/test.mk +++ b/.mk/test.mk @@ -4,8 +4,8 @@ # exclude auto-generated DB code as well as mocks # in future, we may want to parse these from a file instead of hardcoding them # in the Makefile -COVERAGE_EXCLUSIONS="internal/db\|/mock/\|internal/auth/keycloak/client\|internal/proto" -COVERAGE_PACKAGES=./internal/... +COVERAGE_EXCLUSIONS="internal/db\|/mock/\|internal/auth/keycloak/client\|internal/proto|pkg/api" +COVERAGE_PACKAGES=./internal/...,./pkg/... .PHONY: clean clean:: ## clean up environment