fix: Enable xdist with coverage in tox.ini Fixes #932

This commit is contained in:
Alexander Whitestone
2026-03-23 22:12:26 -04:00
parent f0bf778197
commit 2ffbf9cc96

View File

@@ -104,7 +104,7 @@ commands =
--cov-report=xml:reports/coverage.xml \ --cov-report=xml:reports/coverage.xml \
--cov-fail-under=73 \ --cov-fail-under=73 \
--junitxml=reports/junit.xml \ --junitxml=reports/junit.xml \
-p no:xdist \ -n auto --dist worksteal \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci and not slow" -m "not ollama and not docker and not selenium and not external_api and not skip_ci and not slow"
[testenv:coverage] [testenv:coverage]
@@ -115,7 +115,7 @@ commands =
--cov-report=term-missing \ --cov-report=term-missing \
--cov-report=xml \ --cov-report=xml \
--cov-fail-under=73 \ --cov-fail-under=73 \
-p no:xdist \ -n auto --dist worksteal \
-m "not ollama and not docker and not selenium and not external_api and not slow" -m "not ollama and not docker and not selenium and not external_api and not slow"
[testenv:coverage-html] [testenv:coverage-html]
@@ -126,7 +126,7 @@ commands =
--cov-report=term-missing \ --cov-report=term-missing \
--cov-report=html \ --cov-report=html \
--cov-fail-under=73 \ --cov-fail-under=73 \
-p no:xdist \ -n auto --dist worksteal \
-m "not ollama and not docker and not selenium and not external_api and not slow" -m "not ollama and not docker and not selenium and not external_api and not slow"
[testenv:coverage-parallel] [testenv:coverage-parallel]