From 14499cd6e5fcc4dff83658dc2aea152b6aa1ac53 Mon Sep 17 00:00:00 2001 From: Romain Date: Mon, 12 Jul 2021 18:32:10 +0200 Subject: [PATCH] Fix: Add dedicated integration tests targets for CI --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index fb0d20c8f..ec5ee86df 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,15 @@ test-integration: $(PRE_TARGET) $(if $(PRE_TARGET),$(DOCKER_RUN_TRAEFIK),TEST_CONTAINER=1) ./script/make.sh generate binary test-integration TEST_HOST=1 ./script/make.sh test-integration +## Run the container integration tests +test-integration-container: $(PRE_TARGET) + $(if $(PRE_TARGET),$(DOCKER_RUN_TRAEFIK),TEST_CONTAINER=1) ./script/make.sh generate binary test-integration + +## Run the host integration tests +test-integration-host: $(PRE_TARGET) + $(if $(PRE_TARGET),$(DOCKER_RUN_TRAEFIK),TEST_CONTAINER=1) ./script/make.sh generate binary + TEST_HOST=1 ./script/make.sh test-integration + ## Validate code and docs validate-files: $(PRE_TARGET) $(if $(PRE_TARGET),$(DOCKER_RUN_TRAEFIK)) ./script/make.sh generate validate-lint validate-misspell