Skip to content

Run CI on pull requests only and check the wheel build - #1

Merged
iharhl merged 1 commit into
mainfrom
ci/pr-only-with-wheel-build
Nov 3, 2026
Merged

iharhl merged 1 commit into
mainfrom
ci/pr-only-with-wheel-build

Conversation

@iharhl

@iharhl iharhl commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • CI runs on pull_request and workflow_dispatch (manual "Run workflow" button) instead of on pushes to main, since main will only change through pull requests.
  • New build job: runs uv build, installs the wheel in a clean venv, then runs memmap guide and memmap check examples/custom_bootloader.yaml --strict from it. Packaging mistakes, such as AGENTS.md missing from the wheel, now fail the PR instead of a release.
  • A newer push to a PR cancels the run for its previous commit.

After this PR's checks have run

Protect main before merging: require a PR, require the test (3.10), test (3.13) and build checks, and require branches to be up to date before merging.

Test plan

  • actionlint passes on the workflow
  • uv build and the wheel smoke test pass locally
  • All three checks pass on this PR

🤖 Generated with Claude Code

Changes reach main through pull requests, so CI no longer runs on pushes to
main; workflow_dispatch allows a manual run on any branch. A new build job
builds the wheel, installs it in a clean venv and runs memmap from it, so
packaging mistakes fail the pull request. A newer push to a pull request
cancels the run for its previous commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@iharhl
iharhl merged commit 852f7a0 into main Nov 3, 2026
3 checks passed
@iharhl
iharhl deleted the ci/pr-only-with-wheel-build branch November 3, 2026 22:36
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