pytest.ini_options: add --benchmark-skip to suppress pytest-benchmark warning with xdist (#10106)

We don't run benchmarks here, and benchmarking should always be a separate command than regular test run.
This commit is contained in:
skshetry
2023-11-23 19:55:23 +05:45
committed by GitHub
parent b4f42242c9
commit 06b9196371
+1 -1
View File
@@ -145,7 +145,7 @@ namespaces = false
write_to = "dvc/_dvc_version.py"
[tool.pytest.ini_options]
addopts = "-ra --cov-config pyproject.toml --dist worksteal"
addopts = "-ra --cov-config pyproject.toml --dist worksteal --benchmark-skip"
filterwarnings = [
"error::ResourceWarning",
"error::pytest.PytestUnraisableExceptionWarning",