CI 工作流 (.github/workflows/ci.yml): - lint: 语法检查 + ruff 代码检查 - test: 插件功能测试 (Python 3.10/3.11/3.12 矩阵) - structure: 项目结构完整性 + 旧文件清理检查 测试覆盖 (tests/test_plugins.py, 93 个用例): - 插件加载: 13个插件 × 4项检查 (导入/类名/方法/tool_info) - code_editor: 9 个功能测试 (edit/read_range/find/ast/stats/diff...) - git_tools: 3 个测试 (status/log/branch) - cmd_executor: 5 个测试 (echo/python/拦截/超时/空命令) - file_manager: 7 个测试 (list/read/write/copy/delete/mkdir/info) - auto_engineer: 4 个测试 (metrics/security/complexity) - task_manager: 6 个测试 (add/list/complete/delete/clear) - 引擎: 4 个测试 (加载/旧文件清理) - 核心模块: 3 个导入测试 修复: code_editor diff_text 解析器被 split 拆坏的问题
2 lines
8 B
Python
2 lines
8 B
Python
# tests
|