Skip to content

Commit

Permalink
better try
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Dec 22, 2023
1 parent fdfd3e7 commit 8e6f0e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integrations/pinecone/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ dependencies = [
]
[tool.hatch.envs.default.scripts]
# Pinecone tests are slow (require HTTP requests), so we run them in parallel
test = "pytest -n auto --dist worksteal {args:tests}"
test-cov = "coverage run -m pytest -n auto --dist worksteal {args:tests}"
# with pytest-xdist (https://pytest-xdist.readthedocs.io/en/stable/distribution.html)
test = "pytest -n auto --maxprocesses=3 {args:tests}"
test-cov = "coverage run -m pytest -n auto --maxprocesses=3 {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
Expand Down

0 comments on commit 8e6f0e6

Please sign in to comment.