Repository navigation
你们创建feat的pr,怎么做到能先测试新功能的 #10762
Replies: 2 comments 1 reply
|
不需要先合并,直接从源码运行 feat 分支就能测试: git checkout feat/你的分支
# 测试别人尚未合并的 PR(origin 指向 AstrBotDevs/AstrBot 时):
# git fetch origin pull/<PR编号>/head:pr-<PR编号> && git checkout pr-<PR编号>
uv sync
uv run main.py # 默认在 http://localhost:6185 提供 API / WebUI改了前端时,另开一个终端运行 想和主工作区隔离,可以用仓库 Makefile 里的 worktree: 提交 PR 之前, 注意:Docker 镜像只在 |
1 reply
|
如果你让ai来做的话,是有 ai模型不傻的话,它会自己执行测试和构建命令;且你也可以问他怎么在本地使用uv运行测试,如何使用修改后的webui(而不是发行版构建的)。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
。
All reactions