Skip to content

Commit

Permalink
Add pytest_xdist for parallel test execution (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored Sep 24, 2024
1 parent 5bb265c commit f397e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- pyarrow
- python
- pytest
- pytest_xdist
- scikit-build-core
- sphinx
- pre-commit
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f397e71

Please sign in to comment.