Skip to content

Commit

Permalink
fix: install requirements from backend dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Apr 16, 2024
1 parent b5c00bc commit 635e41b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
@@ -23,11 +23,12 @@ check-lint-and-test-frontend: ## Frontend Lint & Typecheck & Test

backend-test: ## Execute backend tests
ifeq ($(CI),true)
cd backend; \
pip install \
-r requirements/production.txt \
-r requirements/base.txt \
-r requirements/tests.txt; \
cd backend/{{ cookiecutter.project_slug }}; \
cd {{ 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"

0 comments on commit 635e41b

Please # to comment.