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

Add more tests for the publish workflow #7123

Merged
merged 7 commits into from
Sep 17, 2023
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Sep 16, 2023

While looking at https://github.com/rust-lang/crates.io/blob/f0c8f5e64acfd6e57dc2a060b2b7f09893a446c6/src/views/krate_publish.rs, I noticed that quite a few of these serde-based validations are not covered by our test suite. This PR adds a couple more tests to ensure that these cases are sufficiently tested.

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Sep 16, 2023
@Turbo87 Turbo87 merged commit 738a482 into rust-lang:main Sep 17, 2023
6 checks passed
@Turbo87 Turbo87 deleted the publish-tests branch September 17, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant