forked from Rockachopa/Timmy-time-dashboard
fix: Enable xdist with coverage in tox.ini Fixes #932
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user