Update CI workflow to use uv for testing and packaging; enhance development documentation on dependency management
Some checks failed
构建扩展 / build (push) Failing after 5m10s
构建并部署文档 / deploy (push) Failing after 2m54s

This commit is contained in:
2026-08-19 20:24:35 +08:00
parent 8c037fc8a9
commit 9bb603b532
3 changed files with 7 additions and 9 deletions

View File

@@ -109,6 +109,8 @@ uv run pytest tests/test_addon.py tests/test_manifest.py tests/test_pack.py -v
uv run python pack.py
```
`.github/workflows/build.yml` 使用 Python 3.12 与 `uv.lock` 中锁定的开发依赖运行完整测试和打包;新增测试依赖时应在 `pyproject.toml` 的 `dev` 依赖组中声明并更新锁文件,不要在 Workflow 中另行维护 `pip install` 清单。
本地预览用户文档:
```bash