diff --git a/Makefile b/Makefile index d847ba981..827765c19 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,9 @@ GINKGO := ginkgo TEST_SETUP := test-setup.sh TEST_CLEANUP := test-cleanup.sh +E2E_TESTS ?= policies.test-suite +RUN_E2E_TESTS := cd test/e2e; ./run_tests.sh + BUILD_PATH := $(shell pwd)/build BIN_PATH := $(BUILD_PATH)/bin COVERAGE_PATH := $(BUILD_PATH)/coverage @@ -337,6 +340,9 @@ ginkgo-subpkgs-tests: # TODO(klihub): coverage ? -r . || exit 1); \ done +e2e-tests: build images + $(Q)$(RUN_E2E_TESTS) $(E2E_TESTS) + codecov: SHELL := $(shell which bash) codecov: bash <(curl -s https://codecov.io/bash) -f $(COVERAGE_PATH)/coverprofile