diff --git a/environment.yml b/environment.yml index 2308c294..2b32f211 100644 --- a/environment.yml +++ b/environment.yml @@ -15,6 +15,7 @@ dependencies: - pyarrow - python - pytest + - pytest_xdist - scikit-build-core - sphinx - pre-commit diff --git a/pyproject.toml b/pyproject.toml index e1f8a2a9..479feaa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,9 +66,10 @@ known_first_party = "pantab" build = "cp39-*64 cp310-*64 cp311-*64 cp312-*64" skip = "*musllinux*" -test-command = "python -m pytest {project}/tests" +test-command = "python -m pytest -n auto {project}/tests" test-requires = [ "pytest", + "pytest-xdist[psutil]", "pandas>=2.0.0", "polars~=1.2.0", "narwhals",