Skip to content

CI: Don't build/run doctests in test-features jobs. #2532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025

Conversation

briansmith
Copy link
Owner

The doctests are built/run in separate test-doc jobs so we don't need to run them in test-features.

This will speed up CI slightly.

This will also work around some incompatibility introduced in recent Rust 1.87 and/or Nightly releases where linking the doctests fails when cross-compiling. (Rust recently started building doctests when cross-compiling where previously it ignored them during cross- compilation.)

@briansmith
Copy link
Owner Author

The coverage job failures were addressed in PR #2531.

The doctests are built/run in separate test-doc jobs so we don't need
to run them in test-features.

This will speed up CI slightly.

This will also work around some incompatibility introduced in recent
Rust 1.87 and/or Nightly releases where linking the doctests fails
when cross-compiling. (Rust recently started building doctests when
cross-compiling where previously it ignored them during cross-
compilation.)
@briansmith briansmith force-pushed the b/no-doctest-in-test-features branch from 40e9b72 to 5f3a038 Compare May 21, 2025 16:27
@briansmith briansmith merged commit c633d5e into main May 21, 2025
141 of 172 checks passed
@briansmith briansmith deleted the b/no-doctest-in-test-features branch May 27, 2025 22:54
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