{{ message }}
Skip C-API in workspace coverage - #8619
Open
moreal wants to merge 1 commit into
Open
Conversation
Contributor
moreal
marked this pull request as ready for review
August 30, 2026 07:33
Assisted-by: Codex:gpt-5.6-sol
moreal
force-pushed
the
ci/exclude-capi-from-coverage
branch
from
August 30, 2026 07:34
0a11833 to
f2df899
Compare
moreal
marked this pull request as draft
August 30, 2026 07:35
moreal
marked this pull request as ready for review
August 30, 2026 07:35
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
The periodic coverage job runs tests from the workspace root, which causes the rustpython-capi test binary to be built without the crate-local PyO3 configuration from crates/capi/.cargo/config.toml. The binary consequently crashes with SIGSEGV as soon as its unit tests start. This failure appeared in the run associated with #8616, but the same failure has also affected scheduled runs on main since C-API tests were enabled.
This change excludes rustpython-capi from the root workspace coverage invocation, matching the existing regular CI workflow. The C-API suite remains covered by its dedicated CI invocation from crates/capi, where all 102 tests pass with the required configuration. I also verified the remaining workspace tests, clippy, formatting, pre-commit hooks, actionlint, and the workflow security scan locally.
Summary by CodeRabbit