implement pytest-xdist for the Docker tests
This speeds up testing quite a bit
This commit is contained in:
parent
fde7d492d4
commit
5ab7bf978a
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ docker:
|
|||
docker-compose up
|
||||
|
||||
test:
|
||||
docker-compose run web pytest network_inventory/ --nomigrations --cov=. --cov-report=html
|
||||
docker-compose run web pytest -n 4 network_inventory/ --nomigrations --cov=. --cov-report=html
|
||||
|
||||
local:
|
||||
python3 -m venv venv
|
||||
|
|
|
@ -8,4 +8,5 @@ django-filter
|
|||
pytest
|
||||
pytest-django
|
||||
pytest-cov
|
||||
pytest-xdist
|
||||
mixer
|
||||
|
|
Loading…
Reference in New Issue