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
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
set -eu
# Keep the configured global checks when this checkout opts into repository hooks.
global_hooks=$(git config --global --path --get core.hooksPath || :)
if [ -n "$global_hooks" ] && [ -x "$global_hooks/pre-commit" ] &&
[ ! "$global_hooks/pre-commit" -ef "$0" ]; then
"$global_hooks/pre-commit"
fi
exec make test-changed