diff --git a/Makefile b/Makefile index f8d6ccaa..444a7fcb 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,10 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy sed '/^[dD]jango==/d;' requirements/test.txt > requirements/test.tmp mv requirements/test.tmp requirements/test.txt +run-integration-tests: + make install-dev-dependencies + pytest -rPf ./eox_tenant/test/integration + quality: clean ## check coding style with pycodestyle and pylint $(TOX) pycodestyle ./eox_tenant $(TOX) pylint ./eox_tenant --rcfile=./setup.cfg diff --git a/scripts/execute_integration_tests.sh b/scripts/execute_integration_tests.sh index 518b639b..c1f256c1 100644 --- a/scripts/execute_integration_tests.sh +++ b/scripts/execute_integration_tests.sh @@ -1,7 +1,3 @@ #!/bin/bash -echo "Install test-requirements" -make install-dev-dependencies - -echo "Run tests" -pytest -rPf ./eox_tenant/test/integration +make run-integration-tests