From ce490273a973740419757f676becc72dd2296776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Garc=C3=ADa=20Crespo?= Date: Wed, 25 Sep 2024 10:28:07 +0000 Subject: [PATCH] Always reuse project env --- test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test.sh b/test.sh index 31d9beb..18811ac 100755 --- a/test.sh +++ b/test.sh @@ -59,6 +59,9 @@ for version in "${combined[@]}"; do --cov-report html done +export UV_PROJECT_ENVIRONMENT="$curdir/.venv/test-runner/$latest/" \ +export VIRTUAL_ENV="$curdir/.venv/test-runner/$latest/" \ + print_status "Running \`ruff check\` using Python $latest..." uv run --frozen --python "$latest" -- ruff check