Skip to content

Commit

Permalink
makefile: run unit tests for test/internal
Browse files Browse the repository at this point in the history
There is a test code which is complex enough and used wide enough
so it worth running unit-tests for it.

Changing the makefile so it will consider unit-tests under `test/internal`
as well.

Signed-off-by: Talor Itzhak <[email protected]>
  • Loading branch information
Tal-or committed Jan 29, 2025
1 parent 7bf3166 commit 26d096f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ test-unit: test-unit-pkgs test-controllers

.PHONY: test-unit-pkgs
test-unit-pkgs: generate-source
go test $$(go list ./... | grep -vE 'controller|test|tools|cmd')
go test $$(go list ./... | grep -vE 'tools|cmd|internal/controller|test/e2e|test/deviceplugin|k8simported')

.PHONY: test-unit-pkgs-cover
test-unit-pkgs-cover: generate-source
Expand Down

0 comments on commit 26d096f

Please sign in to comment.