Use pytest-xdist to speed up tests (#1290)

* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist

Closes #1289
This commit is contained in:
Simon Willison 2021-04-02 20:42:28 -07:00 committed by GitHub
commit 0a7621f96f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 1 deletions

View file

@ -26,4 +26,5 @@ jobs:
pip install -e '.[test]'
- name: Run tests
run: |
pytest
pytest -n auto -m "not serial"
pytest -m "serial"