Skip to content

ci: split full PR tests to self-hosted workflow#655

Merged
terasakisatoshi merged 2 commits intomainfrom
ci-split-selfhost-pr-tests
Apr 8, 2026
Merged

ci: split full PR tests to self-hosted workflow#655
terasakisatoshi merged 2 commits intomainfrom
ci-split-selfhost-pr-tests

Conversation

@terasakisatoshi
Copy link
Copy Markdown
Member

Summary

  • ci.yml: Disable the default GitHub-hosted test-workspace job (commented out). The main workflow still runs rustfmt, BLAS inject tests, coverage, and the docs site build on ubuntu-latest.
  • CI_rs_selfhost.yml (new): On pull requests to main, run full cargo nextest plus cargo test --doc on GitHub-hosted runners for fork PRs, and on self-hosted runners for same-repo PRs (shared CARGO_TARGET_DIR, checkout@v6).

Rationale

Heavy workspace tests move off the default CI path for PRs while keeping inject/coverage/docs checks in the standard workflow; maintainers get faster repeat builds via the self-hosted cache layout.

Made with Cursor

- Comment out default test-workspace job in ci.yml (fmt, inject, coverage, docs remain).
- Add CI_rs_selfhost.yml: fork PRs run nextest + doc tests on GitHub-hosted; same-repo PRs run on self-hosted with shared target dir.

Made-with: Cursor
@terasakisatoshi terasakisatoshi enabled auto-merge (squash) April 8, 2026 02:09
@terasakisatoshi terasakisatoshi disabled auto-merge April 8, 2026 02:09
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2572194492

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

ci-gate runs after ci-fork/ci-maintainer with if: always() and succeeds when
either path returns success, so one Required check works for fork and same-repo PRs.

Made-with: Cursor
@terasakisatoshi terasakisatoshi merged commit f47e989 into main Apr 8, 2026
10 checks passed
@terasakisatoshi terasakisatoshi deleted the ci-split-selfhost-pr-tests branch April 8, 2026 02:44
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