File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ bin/yq: bin ## Install yq deps for update-patchversion script.
146
146
.PHONY : tests-modules dmt-lint tests-openapi tests-controller tests-webhooks
147
147
tests-modules : # # Run unit tests for modules hooks and templates.
148
148
# #~ Options: FOCUS=module-name
149
- go test -timeout=${TESTS_TIMEOUT} -vet=off ${TESTS_PATH}
149
+ go test -cover -race - timeout=${TESTS_TIMEOUT} -vet=off ${TESTS_PATH}
150
150
151
151
dmt-lint :
152
152
docker run --rm -v ${PWD} :/deckhouse-src --user $(id -u ) :$(id -g ) ubuntu /deckhouse-src/tools/dmt-lint.sh
@@ -156,7 +156,7 @@ tests-openapi: ## Run tests against modules openapi values schemas.
156
156
go test -vet=off ./testing/openapi_cases/
157
157
158
158
tests-controller : # # Run deckhouse-controller unit tests.
159
- go test ./deckhouse-controller/... -v
159
+ go test -cover -race ./deckhouse-controller/... -v
160
160
161
161
tests-webhooks : bin/yq # # Run python webhooks unit tests.
162
162
./testing/webhooks/run.sh
You can’t perform that action at this time.
0 commit comments