From 1edf27e04015afa6134a5a75863f18f98e8019ab Mon Sep 17 00:00:00 2001 From: Haozhe Wu Date: Fri, 22 May 2026 00:04:00 +0800 Subject: [PATCH] ci: switch syntax-check from cli.py to cli/ package The CLI was split into a package in b5a44a1; 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. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad6a3984..0be39a0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Syntax check run: | cd agent - python -m py_compile cli.py + python -m compileall -q cli python -m py_compile api_server.py python -m py_compile mcp_server.py python -m py_compile src/agent/loop.py