ci: add automated test workflow

This commit is contained in:
chengma
2026-07-02 16:28:04 +08:00
parent e52da68835
commit c404d1dd11
6 changed files with 52 additions and 7 deletions
+3
View File
@@ -35,6 +35,9 @@ python -m unittest discover -s tests
```
`requirements.txt` 只锁定运行所需第三方依赖;`config.json`、`config/ai_models.json`、SQLite、图片、登录态和运营 Excel 仍是本地数据,不提交版本库。
GitHub Actions 工作流见 `.github/workflows/tests.yml`,在 push / pull_request 上使用 Windows + Python 3.11 安装 `requirements.txt`,并自动运行语法检查和全量单元/GUI 测试。
## 任务 / 进度 / 当前状态
- `06-tasks.md` 维护任务看板:任务 ID、依赖、验收要点和状态。