Skip to content

Commit

Permalink
update Pinecone test scripts (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Jun 25, 2024
1 parent 60c6666 commit 53f26ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/pinecone/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ dependencies = [
[tool.hatch.envs.default.scripts]
# Pinecone tests are slow (require HTTP requests), so we run them in parallel
# with pytest-xdist (https://pytest-xdist.readthedocs.io/en/stable/distribution.html)
test = "pytest -n auto --maxprocesses=2 {args:tests}"
test-cov = "coverage run -m pytest -n auto --maxprocesses=2 {args:tests}"
test = "pytest -n auto --maxprocesses=2 --reruns 3 --reruns-delay 30 -x {args:tests}"
test-cov = "coverage run -m pytest -n auto --maxprocesses=2 --reruns 3 --reruns-delay 30 -x {args:tests}"
cov-report = ["- coverage combine", "coverage report"]
cov = ["test-cov", "cov-report"]
docs = ["pydoc-markdown pydoc/config.yml"]
Expand Down

0 comments on commit 53f26ec

Please sign in to comment.