File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 83
83
# #@ Tests
84
84
85
85
.PHONY : go-test
86
- go-test : # # Run the go tests ($ go test -v ./cmd/... ./pkg/...)
87
- go test -race -v ./cmd/... ./pkg/...
86
+ go-test : # # Run the unit test
87
+ go test -race -v ./cmd/... ./pkg/... ./plugins/...
88
88
89
89
.PHONY : test
90
90
test : # # Run the unit tests (used in the CI)
@@ -95,7 +95,7 @@ test-coverage: ## Run coveralls
95
95
# remove all coverage files if exists
96
96
- rm -rf * .out
97
97
# run the go tests and gen the file coverage-all used to do the integration with coverrals.io
98
- go test -race -failfast -tags=integration -coverprofile=coverage-all.out ./pkg/... ./cmd /...
98
+ go test -race -failfast -tags=integration -coverprofile=coverage-all.out ./cmd/... ./ pkg/... ./plugins /...
99
99
100
100
.PHONY : test-e2e-local
101
101
test-e2e-local : # # It will run the script to install kind and run e2e tests
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ header_text "running kubebuilder unit tests"
140
140
cd ${go_workspace} /src/sigs.k8s.io/kubebuilder
141
141
142
142
export GO111MODULE=on
143
- go test -race ./cmd/... ./pkg/...
143
+ go test -race -v ./cmd/... ./pkg/... ./plugins /...
144
144
145
145
# test project v2
146
146
GO111MODULE=on test_project project-v2 2
You can’t perform that action at this time.
0 commit comments