Skip to content

Commit

Permalink
Merge pull request #5642 from gitcoinco/fix-pytest-ubuntu
Browse files Browse the repository at this point in the history
fix pytest Makefile commands
  • Loading branch information
octavioamu authored Dec 16, 2019
2 parents ce6f397 + a75e34c commit 49604db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ cypress: ## Open cypress testing UI
@npx cypress open

pytest: ## Run pytest (Backend)
@docker-compose exec -e DJANGO_SETTINGS_MODULE="app.settings" web pytest -p no:ethereum
@docker-compose exec -e PYTHONPATH=/code/app/ -e DJANGO_SETTINGS_MODULE="app.settings" web pytest -p no:ethereum

pytest-pdb: ## Run pytest with pdb support (Backend)
@docker-compose exec -e DJANGO_SETTINGS_MODULE="app.settings" web pytest -p no:ethereum --pdb --pdbcls=IPython.terminal.debugger:Pdb
@docker-compose exec -e PYTHONPATH=/code/app/ -e DJANGO_SETTINGS_MODULE="app.settings" web pytest -p no:ethereum --pdb --pdbcls=IPython.terminal.debugger:Pdb

stylelint: ## Run stylelint against the project directory. Requires node, npm, and project dependencies.
@npm run stylelint
Expand Down

0 comments on commit 49604db

Please sign in to comment.