diff --git a/integrations/amazon_bedrock/pyproject.toml b/integrations/amazon_bedrock/pyproject.toml index 411631da9..de917340d 100644 --- a/integrations/amazon_bedrock/pyproject.toml +++ b/integrations/amazon_bedrock/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/amazon_sagemaker/pyproject.toml b/integrations/amazon_sagemaker/pyproject.toml index 0bef45ee2..0aab701f6 100644 --- a/integrations/amazon_sagemaker/pyproject.toml +++ b/integrations/amazon_sagemaker/pyproject.toml @@ -53,7 +53,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --reruns 3 --reruns-delay 30 -x {args:tests}" cov-report = ["- coverage combine", "coverage report"] cov = ["test-cov", "cov-report"] diff --git a/integrations/anthropic/pyproject.toml b/integrations/anthropic/pyproject.toml index c8ef25cbb..95886a97a 100644 --- a/integrations/anthropic/pyproject.toml +++ b/integrations/anthropic/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/astra/pyproject.toml b/integrations/astra/pyproject.toml index f36cd1286..9bbf8e07b 100644 --- a/integrations/astra/pyproject.toml +++ b/integrations/astra/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/chroma/pyproject.toml b/integrations/chroma/pyproject.toml index 6c786a3fe..0815c55ce 100644 --- a/integrations/chroma/pyproject.toml +++ b/integrations/chroma/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/cohere/pyproject.toml b/integrations/cohere/pyproject.toml index e095d9804..c6c3ae6ac 100644 --- a/integrations/cohere/pyproject.toml +++ b/integrations/cohere/pyproject.toml @@ -41,10 +41,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/cohere-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/deepeval/pyproject.toml b/integrations/deepeval/pyproject.toml index caaa35b59..46472dd2f 100644 --- a/integrations/deepeval/pyproject.toml +++ b/integrations/deepeval/pyproject.toml @@ -41,10 +41,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/deepeval-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/elasticsearch/pyproject.toml b/integrations/elasticsearch/pyproject.toml index 8c6494240..904febbe9 100644 --- a/integrations/elasticsearch/pyproject.toml +++ b/integrations/elasticsearch/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/fastembed/pyproject.toml b/integrations/fastembed/pyproject.toml index b723ffe58..2ffef6842 100644 --- a/integrations/fastembed/pyproject.toml +++ b/integrations/fastembed/pyproject.toml @@ -51,7 +51,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/google_ai/pyproject.toml b/integrations/google_ai/pyproject.toml index 9726fe180..6e7885eac 100644 --- a/integrations/google_ai/pyproject.toml +++ b/integrations/google_ai/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/google_vertex/pyproject.toml b/integrations/google_vertex/pyproject.toml index 21f923215..8e3d0e71a 100644 --- a/integrations/google_vertex/pyproject.toml +++ b/integrations/google_vertex/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/gradient/pyproject.toml b/integrations/gradient/pyproject.toml index 6500f5fb8..48cc7237d 100644 --- a/integrations/gradient/pyproject.toml +++ b/integrations/gradient/pyproject.toml @@ -54,7 +54,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/instructor_embedders/pyproject.toml b/integrations/instructor_embedders/pyproject.toml index 359d7f2e8..4ea9f34e3 100644 --- a/integrations/instructor_embedders/pyproject.toml +++ b/integrations/instructor_embedders/pyproject.toml @@ -72,7 +72,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/jina/pyproject.toml b/integrations/jina/pyproject.toml index bcf951834..cda0b35e6 100644 --- a/integrations/jina/pyproject.toml +++ b/integrations/jina/pyproject.toml @@ -43,10 +43,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/jina-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/langfuse/pyproject.toml b/integrations/langfuse/pyproject.toml index f535e99ca..41b1c1da9 100644 --- a/integrations/langfuse/pyproject.toml +++ b/integrations/langfuse/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/llama_cpp/pyproject.toml b/integrations/llama_cpp/pyproject.toml index 05ff6747c..23a0218a0 100644 --- a/integrations/llama_cpp/pyproject.toml +++ b/integrations/llama_cpp/pyproject.toml @@ -54,7 +54,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/mistral/pyproject.toml b/integrations/mistral/pyproject.toml index f57c1ff80..709b34b0d 100644 --- a/integrations/mistral/pyproject.toml +++ b/integrations/mistral/pyproject.toml @@ -41,10 +41,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/mistral-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/mongodb_atlas/pyproject.toml b/integrations/mongodb_atlas/pyproject.toml index 8ca6f2f88..59566886a 100644 --- a/integrations/mongodb_atlas/pyproject.toml +++ b/integrations/mongodb_atlas/pyproject.toml @@ -51,7 +51,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/nvidia/pyproject.toml b/integrations/nvidia/pyproject.toml index 7e467fca2..d7ea1156f 100644 --- a/integrations/nvidia/pyproject.toml +++ b/integrations/nvidia/pyproject.toml @@ -42,10 +42,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/nvidia-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/ollama/pyproject.toml b/integrations/ollama/pyproject.toml index 3a937d3ff..77fe4a996 100644 --- a/integrations/ollama/pyproject.toml +++ b/integrations/ollama/pyproject.toml @@ -54,7 +54,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/opensearch/pyproject.toml b/integrations/opensearch/pyproject.toml index af879acd6..8c620b324 100644 --- a/integrations/opensearch/pyproject.toml +++ b/integrations/opensearch/pyproject.toml @@ -50,7 +50,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --reruns 3 --reruns-delay 30 -x {args:tests}" cov-report = ["- coverage combine", "coverage report"] cov = ["test-cov", "cov-report"] diff --git a/integrations/optimum/pyproject.toml b/integrations/optimum/pyproject.toml index e5c1c1d78..11a54020a 100644 --- a/integrations/optimum/pyproject.toml +++ b/integrations/optimum/pyproject.toml @@ -64,7 +64,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/pgvector/pyproject.toml b/integrations/pgvector/pyproject.toml index 9ea2d3a58..c306fd6f4 100644 --- a/integrations/pgvector/pyproject.toml +++ b/integrations/pgvector/pyproject.toml @@ -51,7 +51,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/qdrant/pyproject.toml b/integrations/qdrant/pyproject.toml index f535fd7a6..7d23bbd9a 100644 --- a/integrations/qdrant/pyproject.toml +++ b/integrations/qdrant/pyproject.toml @@ -44,10 +44,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/qdrant-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/ragas/pyproject.toml b/integrations/ragas/pyproject.toml index 6a43aebea..377ca9d5d 100644 --- a/integrations/ragas/pyproject.toml +++ b/integrations/ragas/pyproject.toml @@ -41,10 +41,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/ragas-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "haystack-pydoc-tools"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/unstructured/pyproject.toml b/integrations/unstructured/pyproject.toml index 05a8b6f30..475a2ea3c 100644 --- a/integrations/unstructured/pyproject.toml +++ b/integrations/unstructured/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ ] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"] diff --git a/integrations/weaviate/pyproject.toml b/integrations/weaviate/pyproject.toml index b4be4fbe6..9be95a982 100644 --- a/integrations/weaviate/pyproject.toml +++ b/integrations/weaviate/pyproject.toml @@ -47,10 +47,10 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/weaviate-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "ipython"] +dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "ipython"] [tool.hatch.envs.default.scripts] test = "pytest --reruns 3 --reruns-delay 30 -x {args:tests}" -test-cov = "coverage run -m pytest {args:tests}" +test-cov = "coverage run -m pytest --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"]