1
0

feat: 新增开发 CI 流程,重构 test.yml 支持分层测试

新增 ci.yml,在 push(dev/main)和 PR 时触发快速检查(lint + 全量测试)
重构 test.yml,新增 full 参数控制是否运行 MySQL 和 E2E 测试
release.yml 调用 test.yml 时传 full: true,行为与重构前一致
同步更新 ci-test-gate spec
This commit is contained in:
2026-05-07 12:43:08 +08:00
parent cd0b3e8fc1
commit 0d30ed9a0f
4 changed files with 171 additions and 39 deletions

14
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: CI
on:
push:
branches: [dev, main]
pull_request:
permissions:
contents: read
jobs:
check:
name: Check
uses: ./.github/workflows/test.yml