From 40316904d41158204aecbe31969f02f8a29264ea Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 4 Dec 2019 17:35:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Makefile:=20Fix=20"make=20test"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index caf98a3..0d2e8e3 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ PIP_INSTALL = pip3 install # '$(GIT_CLONE)' GIT_CLONE = git clone +PYTHON = python3 # BEGIN-EVAL makefile-parser --make-help Makefile @@ -23,6 +24,7 @@ help: @echo "" @echo " Variables" @echo "" + @echo " PYTHON '$(PYTHON)'" @echo " PIP_INSTALL '$(PIP_INSTALL)'" @echo " GIT_CLONE '$(GIT_CLONE)'" @@ -75,7 +77,7 @@ assets-clean: # Run unit tests test: test/assets calamari_models # declare -p HTTP_PROXY - python3 -m pytest --continue-on-collection-errors test $(PYTEST_ARGS) + $(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS) # Run unit tests and determine test coverage coverage: test/assets calamari_models