Skip to content

Commit

Permalink
Measure coverage for pkg folder.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
blkt committed Oct 30, 2024
1 parent 7168590 commit f9c4f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .mk/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9c4f4d

Please sign in to comment.