fix(tools/linactl): fix plugin-full CI aggregate module and improve p… #133
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # LinaPro backend main CI workflow. | |
| # Runs on every push and pull request branch. | |
| # LinaPro 后端主 CI 工作流。 | |
| # 在每次分支 push 和手动触发时运行。 | |
| name: Main CI | |
| on: | |
| # Validate every pushed branch, not only protected branches. | |
| # 校验所有被推送的分支,不只覆盖受保护分支。 | |
| push: | |
| branches: | |
| - '**' | |
| # Allow maintainers to rerun the main CI manually, optionally with debug support. | |
| # 允许维护者手动重跑主 CI,并可按需开启调试。 | |
| workflow_dispatch: | |
| inputs: | |
| debug: | |
| type: boolean | |
| description: 'Enable tmate Debug' | |
| required: false | |
| default: false | |
| # Cancel in-progress runs for the same branch/PR to save CI minutes. | |
| # 取消同一分支/PR 上仍在运行的旧任务,节省 CI 时间。 | |
| concurrency: | |
| group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
| cancel-in-progress: true | |
| # Keep logs and date-sensitive tests aligned with the project timezone. | |
| # 让日志和依赖日期的测试与项目时区保持一致。 | |
| env: | |
| TZ: "Asia/Shanghai" | |
| jobs: | |
| # Fails the branch when any active OpenSpec change is not complete. | |
| # 当任一活跃 OpenSpec 变更未完成时让分支检查失败。 | |
| openspec-changes-complete: | |
| name: OpenSpec changes complete | |
| uses: ./.github/workflows/reusable-openspec-changes-complete.yml | |
| # Reuses the Windows smoke workflow to verify cross-platform command entry points. | |
| # 复用 Windows 冒烟工作流,验证跨平台命令入口。 | |
| windows-command-smoke: | |
| name: Windows command smoke | |
| uses: ./.github/workflows/reusable-windows-command-smoke.yml | |
| with: | |
| plugins: "0" | |
| # Verifies important root plugin-management make targets on Linux. | |
| # 在 Linux 上验证重要的根目录插件管理 make 指令。 | |
| plugin-command-smoke: | |
| name: Plugin command smoke | |
| uses: ./.github/workflows/reusable-plugin-command-smoke.yml | |
| # Verifies frequently used root make targets that are not covered by plugin smoke. | |
| # 验证插件冒烟之外的常用根目录 make 指令。 | |
| make-command-smoke: | |
| name: Make command smoke | |
| uses: ./.github/workflows/reusable-make-command-smoke.yml | |
| # Runs host-only Go unit tests against a PostgreSQL-backed reusable workflow. | |
| # 通过可复用工作流运行宿主模式 Go 单元测试,并使用 PostgreSQL。 | |
| backend-unit-tests: | |
| name: Go unit tests | |
| uses: ./.github/workflows/reusable-backend-unit-tests.yml | |
| with: | |
| plugins: "0" | |
| # Exercises Redis-backed integration paths that are intentionally separate from regular unit tests. | |
| # 单独验证依赖 Redis 的集成路径,避免混入常规单元测试作业。 | |
| redis-integration-tests: | |
| name: Redis integration tests | |
| uses: ./.github/workflows/reusable-redis-integration-tests.yml | |
| # Reuses the frontend unit-test workflow for the default management workspace. | |
| # 复用前端单测工作流,验证默认管理工作台。 | |
| frontend-unit-tests: | |
| name: Frontend unit tests | |
| uses: ./.github/workflows/reusable-frontend-unit-tests.yml | |
| # SQLite Backend Smoke Tests | |
| # Verifies the backend can initialize and run against the SQLite configuration. | |
| # SQLite 后端冒烟测试。 | |
| # 验证后端在 SQLite 配置下可以初始化并运行。 | |
| sqlite-smoke: | |
| name: SQLite smoke | |
| uses: ./.github/workflows/reusable-sqlite-smoke.yml |