Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

ci(jarvisctl): install the package's base deps for the test suite, not a hand-list

Ruben Lütkef03568bc60b9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5bb83ad6db..13790d57b6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -213,6 +213,20 @@ jobs:
# docs/jarvis-cli-reference.md. Mirrors the pre-push docgen gate.
run: python scripts/ci/gen_cli_reference.py --check
+ - name: Install base runtime deps for the test suite (robust; no hand-list)
+ shell: bash
+ # The cli_ctl unit tests import deeper jarvis modules that transitively
+ # pull in base runtime deps (pydantic, pyyaml, loguru, …). Install the
+ # package's BASE deps — torch-/GPU-free per the cloud-first base-install
+ # mandate — instead of the hand-maintained dep list above, which silently
+ # rots and REDS CI the moment a test imports one more transitive lib (the
+ # recurring "ModuleNotFoundError: No module named 'yaml'/'pydantic'"
+ # collection errors). The heavy desktop/voice extras stay OUT, so the
+ # --help smoke above still proves the light install path.
+ run: |
+ python -m pip install -e .
+ python -m pip install pytest pytest-asyncio hypothesis
+
- name: pytest (jarvisctl unit suite)
run: python -m pytest tests/unit/cli_ctl/ -v