Skip to content

Add GitHub Actions CI (deterministic test suite) - #46

Merged
Niraya666 merged 1 commit into
mainfrom
codex/ci-workflow
Jul 15, 2026
Merged

Niraya666 merged 1 commit into
mainfrom
codex/ci-workflow

Conversation

@Niraya666

Copy link
Copy Markdown
Owner

开源前最后一个明显缺口:公开仓库有 539 个绿测试却没有 CI 在 PR 上自动跑。

做了什么

  • .github/workflows/ci.yml:push 到 main + 每个 PR 触发,矩阵 Python 3.11 / 3.12,ubuntu。
  • 步骤:astral-sh/setup-uv(带缓存)→ uv sync --extra gateway --extra mcp --extra tui --extra test → uv run pytest -q --ignore=tests/integration --ignore=tests/e2e。
  • integration/e2e 需要真实 provider 凭据,CI 里排除;其余全部脚本化 transport、零 API。
  • concurrency 取消被顶掉的旧 run;permissions: contents: read 最小权限。
  • README / README.zh 顶部加 CI 状态徽章。

验证

  • YAML 解析通过;本地跑 CI 里那条完全相同的命令:539 passed。

纯配置,零风险。

注:workflow 文件因 OAuth token 缺 workflow scope 无法走 HTTPS 推,已改用 SSH 推送。

…s badges

Runs uv sync + pytest (excluding integration/e2e, which need real provider
credentials) on push to main and every PR, across Python 3.11 and 3.12. Adds a
CI status badge to both READMEs.
@Niraya666
Niraya666 merged commit c03ef2a into main Jul 15, 2026
2 checks passed
@Niraya666
Niraya666 deleted the codex/ci-workflow branch July 15, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant