From 65958d6aea4fe92d91d63cbcfadeb239fe5bdb6e Mon Sep 17 00:00:00 2001 From: Manvendra Date: Sat, 27 Jun 2026 15:21:41 +0530 Subject: [PATCH] fix(ci): install pytest so the test job actually runs CI ran `python -m pytest` but the Install step was `pip install -e .` (runtime deps only), so every run failed fast with `No module named pytest` - pre-existing, since before skill mode. Add a `dev` optional-dependency group (pytest) and have CI install it via `pip install -e .[dev]`. --- .github/workflows/ci.yml | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb6e8ba..10ba323 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: git config --global user.name "CI" - name: Install - run: pip install -e . + run: pip install -e ".[dev]" - name: Run tests run: python -m pytest -q diff --git a/pyproject.toml b/pyproject.toml index a09f062..b183415 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,10 @@ description = "An autonomous multi-agent system that resolves a coding task on a requires-python = ">=3.10" dependencies = ["langgraph>=0.2", "openai>=1.0", "python-dotenv>=1.0", "pydantic>=2"] +[project.optional-dependencies] +# Test/dev tooling. CI installs this: `pip install -e ".[dev]"`. +dev = ["pytest>=7"] + [tool.setuptools.packages.find] where = ["src"]