test(qa): 加入目录规则浏览器回归和暂存门禁
build / build (push) Failing after 7m7s

在 QA 虚拟机通过 Chromium 复跑和本地提交检查,并验证必填校验失效会触发失败。Gitea 将浏览器回归纳入必需检查。
This commit is contained in:
姚章浩
2026-11-22 19:57:24 +08:00
parent d7d636792d
commit 5d00715c3a
18 changed files with 407 additions and 8 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ def qa_run(commit, env, db_env, versions, state):
wait_service(web, WEB_PORT, '/', 'html', web_log)
wait_service(web, WEB_PORT, '/health', 'ok', web_log)
report('services', 'API /readyz、Web 首页与 Vite /health 代理通过')
run_step(['make', 'tests-go', 'tests-web'], 'tests', env, 300)
run_step(['make', 'tests-go', 'tests-web', 'tests-e2e'], 'tests', env, 300)
check_checkout(commit)
if api.poll() is not None or web.poll() is not None or not probe(WEB_PORT, '/health', 'ok'):
raise QAError(f'服务在测试期间失去健康状态,日志目录 {log_dir}')