diff --git a/Makefile b/Makefile index 9e06a3f..0cdc9cf 100644 --- a/Makefile +++ b/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 diff --git a/requirements/base.txt b/requirements/base.txt index 072b89f..c8d0df5 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -8,4 +8,5 @@ django-filter pytest pytest-django pytest-cov +pytest-xdist mixer