fix(ci): install local tool packages in CI to match monorepo renames

CI was pulling hanzo-tools-agent 0.3.1 from PyPI which still has
IChingTool. Override with local editable installs so ZenTool/etc
are available during tests.
This commit is contained in:
2026-03-06 14:49:55 -08:00
parent 248267bc8d
commit c0f2f47959
2 changed files with 19 additions and 1 deletions
+8
View File
@@ -112,6 +112,14 @@ jobs:
# Install sibling packages for integration tests
uv pip install -e ./pkg/hanzo-memory || true
uv pip install -e ./pkg/hanzo-network || true
# Override PyPI versions with local tool packages (monorepo)
uv pip install --no-deps -e ./pkg/hanzo-tools -e ./pkg/hanzo-tools-core \
-e ./pkg/hanzo-tools-agent -e ./pkg/hanzo-tools-shell -e ./pkg/hanzo-tools-fs \
-e ./pkg/hanzo-tools-memory -e ./pkg/hanzo-tools-todo -e ./pkg/hanzo-tools-reasoning \
-e ./pkg/hanzo-tools-browser -e ./pkg/hanzo-tools-lsp -e ./pkg/hanzo-tools-refactor \
-e ./pkg/hanzo-tools-computer -e ./pkg/hanzo-tools-config -e ./pkg/hanzo-tools-api \
-e ./pkg/hanzo-tools-vcs -e ./pkg/hanzo-tools-net -e ./pkg/hanzo-tools-plan \
-e ./pkg/hanzo-tools-jupyter -e ./pkg/hanzo-tools-llm 2>/dev/null || true
- name: "🧪 Run ALL tests"
run: |
+11 -1
View File
@@ -5,11 +5,13 @@ on:
branches: [main]
paths:
- 'pkg/hanzo-mcp/**'
- 'pkg/hanzo-tools-*/**'
- '.github/workflows/test-hanzo-mcp.yml'
pull_request:
branches: [main]
paths:
- 'pkg/hanzo-mcp/**'
- 'pkg/hanzo-tools-*/**'
- '.github/workflows/test-hanzo-mcp.yml'
workflow_dispatch:
inputs:
@@ -47,7 +49,15 @@ jobs:
source .venv/bin/activate
uv pip install -e ".[test,performance,analytics,dev]"
uv pip install pytest-cov
# Override PyPI versions with local tool packages (monorepo)
uv pip install --no-deps -e ../hanzo-tools -e ../hanzo-tools-core \
-e ../hanzo-tools-agent -e ../hanzo-tools-shell -e ../hanzo-tools-fs \
-e ../hanzo-tools-memory -e ../hanzo-tools-todo -e ../hanzo-tools-reasoning \
-e ../hanzo-tools-browser -e ../hanzo-tools-lsp -e ../hanzo-tools-refactor \
-e ../hanzo-tools-computer -e ../hanzo-tools-config -e ../hanzo-tools-api \
-e ../hanzo-tools-vcs -e ../hanzo-tools-net -e ../hanzo-tools-plan \
-e ../hanzo-tools-jupyter -e ../hanzo-tools-llm 2>/dev/null || true
- name: Run type checking with mypy
run: |
cd pkg/hanzo-mcp