Add feature-gate to ecosystem tests and disable on Windows CI (#10649)

These tests should be platform independent and are particularly
expensive to run
This commit is contained in:
Zanie Blue 2025-01-16 10:02:06 -06:00 committed by GitHub
parent 11f2882211
commit 50c6465ad8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -133,7 +133,7 @@ ignored = [
]
[features]
default = ["python", "python-managed", "pypi", "git", "performance", "crates-io"]
default = ["python", "python-managed", "pypi", "git", "performance", "crates-io", "test-ecosystem"]
# Use better memory allocators, etc.
performance = [
"performance-memory-allocator",
@ -156,5 +156,7 @@ pypi = []
git = []
# Introduces a dependency on crates.io.
crates-io = []
# Includes test cases that require ecosystem packages
test-ecosystem = []
# Adds self-update functionality.
self-update = ["axoupdater", "uv-cli/self-update"]

View file

@ -17,7 +17,7 @@ mod cache_clean;
#[cfg(all(feature = "python", feature = "pypi"))]
mod cache_prune;
#[cfg(all(feature = "python", feature = "pypi"))]
#[cfg(all(feature = "python", feature = "pypi", feature = "test-ecosystem"))]
mod ecosystem;
#[cfg(all(feature = "python", feature = "pypi"))]