Skip to content
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

Run uv-dev tests #11618

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Run uv-dev tests #11618

merged 2 commits into from
Feb 20, 2025

Conversation

konstin
Copy link
Member

@konstin konstin commented Feb 19, 2025

In #6827, we switched the uv-dev binary to not being built by default. As an unintended side effect, we were also stopping to run the tests that ensured the schema was up-to-date.

To fix this, we split uv-dev into an unconditional library, with only the binary being a conditional build. This way, cargo test and cargo nextest pick those tests up again.

An alternative would be running tests with the dev feature, with the side effect of always building the uv-dev binary, too.

In #6827, we switched the uv-dev binary to not being built by default. As an unintended side effect, we were also stopping to run the tests that ensured the schema was up-to-date.

To fix this, we split uv-dev into an unconditional library, with only the binary being a conditional build. This way, `cargo test` and `cargo nextest` pick those tests up again.

An alternative would be running tests with the `dev` feature, with the side effect of always building the uv-dev binary, too.
@konstin konstin added the internal A refactor or improvement that is not user-facing label Feb 19, 2025
@charliermarsh charliermarsh merged commit b4ba78e into main Feb 20, 2025
73 checks passed
@charliermarsh charliermarsh deleted the konsti/uv-dev-tests branch February 20, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants