From 2fcaea4d3ae2ab75597ff7efba8374fc86f77965 Mon Sep 17 00:00:00 2001 From: Kimi Agent Date: Sat, 14 Mar 2026 21:14:36 -0400 Subject: [PATCH] fix: exclude slow tests from all tox envs (ci, pre-push, coverage) --- tox.ini | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tox.ini b/tox.ini index 5bcb7fe..6626fd8 100644 --- a/tox.ini +++ b/tox.ini @@ -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 ───────────────────────────────────────────────────────────────