From e5e284cac263bd5263acada0ecd3c7c16e36e53b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roch=C3=A9=20Compaan?= Date: Tue, 16 Apr 2024 13:06:49 +0200 Subject: [PATCH] fix: install requirements before cd --- {{cookiecutter.project_slug}}/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/Makefile b/{{cookiecutter.project_slug}}/Makefile index a6f3c67e..a3237c3f 100644 --- a/{{cookiecutter.project_slug}}/Makefile +++ b/{{cookiecutter.project_slug}}/Makefile @@ -23,11 +23,11 @@ check-lint-and-test-frontend: ## Frontend Lint & Typecheck & Test backend-test: ## Execute backend tests ifeq ($(CI),true) - cd backend/{{ cookiecutter.project_slug }}; \ pip install \ -r requirements/production.txt \ -r requirements/base.txt \ -r requirements/tests.txt; \ + cd backend/{{ cookiecutter.project_slug }}; \ pytest --cov=./ --cov-report html --ds=config.settings.test else $(KUBECTL_EXEC_BACKEND) -c "cd {{ cookiecutter.project_slug }} && pytest --cov=./ --cov-report html --ds=config.settings.test"