Skip to content

Commit

Permalink
fix: install requirements before cd
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Apr 16, 2024
1 parent f38b7d5 commit e5e284c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e5e284c

Please sign in to comment.