Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

requirements_test: Add pytest-xdist==2.2.1 (#1178)

bcoles40177daf0384
diff --git a/.travis.yml b/.travis.yml
index 680e720a..8b879c67 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ install:
- python -m pip install codecov -r requirements_test.txt
script:
- - python -m pytest --flake8 --durations=5 --cov-report term --cov=. .
+ - python -m pytest --flake8 -n auto --dist loadfile --durations=5 --cov-report term --cov=. .
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/requirements_test.txt b/requirements_test.txt
index 4fa92084..3530d83a 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -8,5 +8,6 @@ pytest==6.0.2
pytest-cov==2.10.1
pytest-flake8==1.0.6
pytest-mock==1.12.0
+pytest-xdist==2.2.1
pycodestyle==2.6.0
responses==0.12.0