File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 22TINYGOCMD =tinygo
33GOTEST =$(GOCMD ) test
44GOVET =$(GOCMD ) vet
5- ALL_GO_MOD_DIRS := ./ ./ modules/evaluation ./modules/core ./cmd/wasm
5+ ALL_GO_MOD_DIRS := ./modules/core ./modules/evaluation ./cmd/wasm ./
66
77# In CI we disable workspace mode.
88ifeq ($(CI ) ,true)
@@ -118,7 +118,11 @@ bump-helm-chart-version: ## Bump Helm chart version (usage: make bump-helm-chart
118118
119119# # Test:
120120test : # # Run the tests of the project
121- @$(foreach module, $(ALL_GO_MOD_DIRS ) , (echo "→ Testing $(module ) "; cd $(module ) && $(GOWORK_ENV ) $(GOCMD ) test -v -race -tags=docker ./...) ; )
121+ @for module in $(ALL_GO_MOD_DIRS ) ; do \
122+ echo " → Testing $$ module" ; \
123+ cd $$ module && $(GOWORK_ENV ) $(GOCMD ) test -v -race -tags=docker ./... || exit 1; \
124+ cd - > /dev/null; \
125+ done
122126
123127provider-tests : # # Run the integration tests for the Open Feature Providers
124128 ./openfeature/provider_tests/integration_tests.sh
You can’t perform that action at this time.
0 commit comments