Skip to content

Resolve "QA 跳过测试的配置文件校验问题"

What does this MR do and why?

Closes #1780 (closed)

  1. 添加 skip-specs-check job(类似:only-jh-check):
  2. stage 放到 lint (看起来更像静态检查)
  3. job 仅依赖 minimal-job (跟 only-jh-check 一致)
  4. 规则使用默认(MR 和主分支上都执行)
  5. 具体检查逻辑代码放到 bin 目录(方便开发自己本地做验证,后续也方便做 lefthook 校验)

Screenshots or screen recordings

见这里测试失败情况的日志:https://jihulab.com/gitlab-cn/gitlab/-/jobs/4881699

image

Song Huang 编辑于

合并请求报告

加载中