mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-15 00:01:58 +00:00
开发文档:后端测试数照分析能力一轮合并后的全量改成约 16000 个(15987 通过),并行约 2–3 分钟(原来写约 14300、1–2 分钟);前端检查仍是 43 项,第 2 波没有加新的检查脚本,不用改。中英两边同改,check-docs 0 问题
This commit is contained in:
@@ -97,7 +97,7 @@ Regenerating the lock file requires [uv](https://docs.astral.sh/uv/); installing
|
||||
## Tests
|
||||
|
||||
```bash
|
||||
# Backend: about 14300 tests; with -n auto they run in parallel in about 1–2 minutes
|
||||
# Backend: about 16000 tests; with -n auto they run in parallel in about 2–3 minutes
|
||||
cd backend && env -u ANTHROPIC_API_KEY -u ANTHROPIC_BASE_URL -u ANTHROPIC_AUTH_TOKEN -u OPENAI_API_KEY \
|
||||
python -m pytest -n auto
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ pip install -e 'backend[microvm,dev,db,docs,postgres]' -c backend/requirements.l
|
||||
## 测试
|
||||
|
||||
```bash
|
||||
# 后端:约 14300 个测试,-n auto 并行约 1–2 分钟
|
||||
# 后端:约 16000 个测试,-n auto 并行约 2–3 分钟
|
||||
cd backend && env -u ANTHROPIC_API_KEY -u ANTHROPIC_BASE_URL -u ANTHROPIC_AUTH_TOKEN -u OPENAI_API_KEY \
|
||||
python -m pytest -n auto
|
||||
|
||||
|
||||
Reference in New Issue
Block a user