Count CPU cores via psutil for parallel testing

psutil does a much better job at accurately counting CPU cores,
of which pytest-xdist takes advantage for the purposes of running
tests concurrently.
This commit is contained in:
Justin Mayer 2020-11-02 13:17:53 +01:00
commit b454f76f72
3 changed files with 3 additions and 2 deletions

View file

@ -49,6 +49,7 @@ typogrify = "^2.0"
sphinx = "^3.0"
sphinx_rtd_theme = "^0.5"
livereload = "^2.6"
psutil = {version = "^5.7", optional = true}
pytest = "^6.0"
pytest-cov = "^2.8"
pytest-pythonpath = "^0.7.3"