mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Parallelize unit tests in CI with pytest-xdist
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: run unit tests
|
name: run unit tests
|
||||||
command: |
|
command: |
|
||||||
py.test tests/
|
py.test -n 4 tests/
|
||||||
|
|
||||||
# Run full installer test
|
# Run full installer test
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
pytest
|
pytest
|
||||||
|
pytest-xdist
|
||||||
|
|||||||
Reference in New Issue
Block a user