1
0

fix: exclude slow tests from all tox envs (ci, pre-push, coverage)

This commit is contained in:
2026-03-14 21:14:36 -04:00
parent 750659630b
commit 2fcaea4d3a

16
tox.ini
View File

@@ -52,14 +52,14 @@ commands =
pytest tests/ -q --tb=short \
--ignore=tests/e2e \
--ignore=tests/functional \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci" \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci and not slow" \
-n auto --dist worksteal
[testenv:integration]
description = Integration tests (marked with @pytest.mark.integration)
commands =
pytest tests/ -q --tb=short \
-m "integration and not ollama and not docker and not selenium and not external_api" \
-m "integration and not ollama and not docker and not selenium and not external_api and not slow" \
-n auto --dist worksteal
[testenv:functional]
@@ -79,7 +79,7 @@ commands =
pytest tests/ -q --tb=short \
--ignore=tests/e2e \
--ignore=tests/functional \
-m "not ollama and not docker and not selenium and not external_api" \
-m "not ollama and not docker and not selenium and not external_api and not slow" \
-n auto --dist worksteal
[testenv:ollama]
@@ -100,7 +100,7 @@ commands =
--cov-fail-under=73 \
--junitxml=reports/junit.xml \
-p no:xdist \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci"
-m "not ollama and not docker and not selenium and not external_api and not skip_ci and not slow"
[testenv:coverage]
description = Full coverage report (terminal + XML)
@@ -111,7 +111,7 @@ commands =
--cov-report=xml \
--cov-fail-under=73 \
-p no:xdist \
-m "not ollama and not docker and not selenium and not external_api"
-m "not ollama and not docker and not selenium and not external_api and not slow"
[testenv:coverage-html]
description = Coverage with HTML report
@@ -122,7 +122,7 @@ commands =
--cov-report=html \
--cov-fail-under=73 \
-p no:xdist \
-m "not ollama and not docker and not selenium and not external_api"
-m "not ollama and not docker and not selenium and not external_api and not slow"
# ── Pre-push (mirrors CI exactly) ────────────────────────────────────────────
@@ -142,7 +142,7 @@ commands =
--cov-fail-under=73 \
--junitxml=reports/junit.xml \
-p no:xdist \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci"
-m "not ollama and not docker and not selenium and not external_api and not skip_ci and not slow"
# ── Pre-commit (fast local gate) ────────────────────────────────────────────
@@ -156,7 +156,7 @@ commands =
pytest tests/ -q --tb=short \
--ignore=tests/e2e \
--ignore=tests/functional \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci" \
-m "not ollama and not docker and not selenium and not external_api and not skip_ci and not slow" \
-n auto --dist worksteal
# ── Dev Server ───────────────────────────────────────────────────────────────