Skip to content
Snippets Groups Projects
Commit b7d1ec8b authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Speed up local tests on OSX

make test should use "-f docker-compose.yml" to not mount the postgres
data volume
See b4f9c100
parent eba1a6f9
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ upgrade_db: ## upgrade the dev database
docker-compose run --rm web flask db upgrade head
test: ## run the tests (on current directory)
docker-compose run --rm web pytest --cov=app -v
docker-compose -f docker-compose.yml run --rm web pytest --cov=app -v
db_test: ## start required containers for test
# Pass docker-compose.yml to skip docker-compose.override.yml (db not mounted as volume for speed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment