diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9ebaa7f4b..5d8711e15 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,7 +34,7 @@ jobs: - name: Run tests run: | source .venv/bin/activate - python -m pytest tests/ -q --ignore=tests/integration --tb=short + python -m pytest tests/ -q --ignore=tests/integration --tb=short -n auto env: # Ensure tests don't accidentally call real APIs OPENROUTER_API_KEY: "" diff --git a/pyproject.toml b/pyproject.toml index 807875156..eb1ae9e53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dependencies = [ [project.optional-dependencies] modal = ["swe-rex[modal]>=1.4.0"] daytona = ["daytona>=0.148.0"] -dev = ["pytest", "pytest-asyncio", "mcp>=1.2.0"] +dev = ["pytest", "pytest-asyncio", "pytest-xdist", "mcp>=1.2.0"] messaging = ["python-telegram-bot>=20.0", "discord.py>=2.0", "aiohttp>=3.9.0", "slack-bolt>=1.18.0", "slack-sdk>=3.27.0"] cron = ["croniter"] slack = ["slack-bolt>=1.18.0", "slack-sdk>=3.27.0"] @@ -84,4 +84,4 @@ testpaths = ["tests"] markers = [ "integration: marks tests requiring external services (API keys, Modal, etc.)", ] -addopts = "-m 'not integration'" +addopts = "-m 'not integration' -n auto"