Run tests in parallel on multi-core systems

Uses pytest-xdist to run tests on two cores simultaneously, speeding up
test runs by nearly 40%.
This commit is contained in:
Justin Mayer 2020-04-13 08:55:29 +02:00
commit 1a6d66f395
3 changed files with 3 additions and 0 deletions

View file

@ -27,6 +27,7 @@ commands =
filterwarnings =
default::DeprecationWarning
error:.*:Warning:pelican
addopts = -n 2
[flake8]
application-import-names = pelican