Skip to content

Commit 33105a5

Browse files
committed
ci: switch syntax-check from cli.py to cli/ package
The CLI was split into a package in dc4da78; the workflow still ran ``python -m py_compile cli.py`` against the now-renamed file and failed with "No such file or directory: 'cli.py'". Use ``python -m compileall -q cli`` so every module under the package (``main.py``, ``_legacy.py``, ``commands/``, ``components/``, ``utils/``, ``_version.py``, ``__main__.py``) is checked together.
1 parent dc4da78 commit 33105a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Syntax check
2626
run: |
2727
cd agent
28-
python -m py_compile cli.py
28+
python -m compileall -q cli
2929
python -m py_compile api_server.py
3030
python -m py_compile mcp_server.py
3131
python -m py_compile src/agent/loop.py

0 commit comments

Comments
 (0)