From d4fe522958428a7be4df26291fd4f6ea69f68fc2 Mon Sep 17 00:00:00 2001 From: smoench Date: Fri, 4 Dec 2020 14:10:14 +0100 Subject: [PATCH] fix infection --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4474a4f81..cc15dcb91 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,10 @@ tc: bin/phpunit INFECTION=vendor-bin/infection/vendor/bin/infection tm: ## Runs Infection tm: $(TU_BOX_DEPS) $(INFECTION) - $(PHPNOGC) $(INFECTION) --only-covered + cd vendor-bin/infection && \ + $(PHPNOGC) vendor/bin/infection \ + --only-covered \ + --configuration=../../infection.json.dist .PHONY: e2e e2e: ## Runs all the end-to-end tests