Skip to content

Commit

Permalink
add e2e unit tests execution into Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bartam1 committed Aug 12, 2023
1 parent c1fd100 commit eb7c5a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ install-kustomize:

# Run tests
test: generate fmt vet manifests bin/setup-envtest
cd api && go test ./...
go test -failfast ./api/... ./tests/e2e/... ./properties/...
KUBEBUILDER_ASSETS=$$($(BIN_DIR)/setup-envtest --print path --bin-dir $(BIN_DIR) use $(ENVTEST_K8S_VERSION)) \
go test ./... \
-coverprofile cover.out \
Expand All @@ -100,7 +100,6 @@ test: generate fmt vet manifests bin/setup-envtest
-test.v \
-test.paniconexit0 \
-timeout 1h
cd properties && go test -coverprofile cover.out -cover -failfast -v -covermode=count ./pkg/... ./internal/...

bin/ginkgo: $(BIN_DIR)/ginkgo-$(GINKGO_VERSION)
@ln -sf ginkgo-$(GINKGO_VERSION) $(BIN_DIR)/ginkgo
Expand Down

0 comments on commit eb7c5a1

Please sign in to comment.