Skip to content

ci: a stub or the stub test runs the interpreter build - #408

Merged
bdbarnett merged 1 commit into
mainfrom
scope-stubs
Nov 10, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
scope-stubs

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

A change to a .pyi stub, or to tests/test_stubs_match_modules.py, now also runs the clean-build job. That job is the only one with MicroPython built from the pull request, and the stub test's exact comparison with the MicroPython module only runs there; before this, a stub-only pull request skipped it and could pass CI with a stub that names something its module doesn't have.

Every other scope rule is unchanged. The stub rule gains build, and the stub test gets its own rule ahead of the general tests/test_*.py one, with lint, unit and build.

I ran tests/test_ci_scope.py (13 tests, passing). The updated stub case fails against the old rule, which I checked by restoring it. I haven't seen the new rule decide a real pull request; the first stub-only one will show it.

@bdbarnett
bdbarnett merged commit 73313a3 into main Nov 10, 2026
35 checks passed
@bdbarnett
bdbarnett deleted the scope-stubs branch November 10, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant