From d7ff8d93c01ac1feb9ff3a509f7620a29f46ed9f Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 9 Apr 2024 09:57:30 -0500 Subject: [PATCH] Skip scenario tests on Windows (#2932) These tests are about resolver correctness, which should not be platform dependent and Windows CI is horribly slow. --- crates/uv/tests/pip_compile_scenarios.rs | 2 +- crates/uv/tests/pip_install_scenarios.rs | 2 +- scripts/scenarios/templates/compile.mustache | 2 +- scripts/scenarios/templates/install.mustache | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/uv/tests/pip_compile_scenarios.rs b/crates/uv/tests/pip_compile_scenarios.rs index 7398d84b1..eb9c8d1e6 100644 --- a/crates/uv/tests/pip_compile_scenarios.rs +++ b/crates/uv/tests/pip_compile_scenarios.rs @@ -3,7 +3,7 @@ //! Generated with `./scripts/sync_scenarios.sh` //! Scenarios from //! -#![cfg(all(feature = "python", feature = "pypi"))] +#![cfg(all(feature = "python", feature = "pypi", unix))] use std::env; use std::process::Command; diff --git a/crates/uv/tests/pip_install_scenarios.rs b/crates/uv/tests/pip_install_scenarios.rs index 54d3bb677..0b5ab479c 100644 --- a/crates/uv/tests/pip_install_scenarios.rs +++ b/crates/uv/tests/pip_install_scenarios.rs @@ -3,7 +3,7 @@ //! Generated with `./scripts/sync_scenarios.sh` //! Scenarios from //! -#![cfg(all(feature = "python", feature = "pypi"))] +#![cfg(all(feature = "python", feature = "pypi", unix))] use std::path::Path; use std::process::Command; diff --git a/scripts/scenarios/templates/compile.mustache b/scripts/scenarios/templates/compile.mustache index 6a21783e1..0914fc04a 100644 --- a/scripts/scenarios/templates/compile.mustache +++ b/scripts/scenarios/templates/compile.mustache @@ -3,7 +3,7 @@ //! Generated with `{{generated_with}}` //! Scenarios from <{{generated_from}}> //! -#![cfg(all(feature = "python", feature = "pypi"))] +#![cfg(all(feature = "python", feature = "pypi", unix))] use std::env; use std::process::Command; diff --git a/scripts/scenarios/templates/install.mustache b/scripts/scenarios/templates/install.mustache index 06517014f..0aa0168b7 100644 --- a/scripts/scenarios/templates/install.mustache +++ b/scripts/scenarios/templates/install.mustache @@ -3,7 +3,7 @@ //! Generated with `{{generated_with}}` //! Scenarios from <{{generated_from}}> //! -#![cfg(all(feature = "python", feature = "pypi"))] +#![cfg(all(feature = "python", feature = "pypi", unix))] use std::path::Path; use std::process::Command;