Skip to content

ci: build not test - #815

Open
alejandro-vaz wants to merge 3 commits into
servo:v2from
alejandro-vaz:build-not-test-ci
Open

alejandro-vaz wants to merge 3 commits into
servo:v2from
alejandro-vaz:build-not-test-ci

Conversation

@alejandro-vaz

Copy link
Copy Markdown
Collaborator

this PR changes the nostd and msrv jobs on the checks workflow to build instead of tests, as tests are handled separately

@GauravPawar101 GauravPawar101 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

wouldn't this introduce silent creeping of cases like Any code in tests/, benches/, or #[cfg(test)] blocks that uses features introduced after Rust 1.86 will pass CI without error.

@alejandro-vaz

Copy link
Copy Markdown
Collaborator Author

you can't manufacture a feature on the crate that tests use that the library doesn't require by MSRV

in other words: MSRV of tests using only the features of the library can never exceed MSRV of the library, unless you inject something else into it

@alejandro-vaz

Copy link
Copy Markdown
Collaborator Author

and users don't really care if tests build on their version, they care that the crate builds

Comment thread .github/workflows/checks.yml
@alejandro-vaz
alejandro-vaz requested a review from jdm October 28, 2026 14:19
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.

2 participants