From 83a3b5af86d5f43f5f611009b2af8e74e94ffad3 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Thu, 12 Dec 2024 11:50:07 +0100 Subject: [PATCH] tests - correct check order for uv --- tests/configure-test-env.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/configure-test-env.sh b/tests/configure-test-env.sh index 8b85a1f54b..17e53e0d24 100755 --- a/tests/configure-test-env.sh +++ b/tests/configure-test-env.sh @@ -21,12 +21,12 @@ echo ">>>> Configuring Python environment" uv_exist=$(command -v uv) if [ -z $uv_exist ] then + echo "No uv found - Install uv please: https://docs.astral.sh/uv/getting-started/installation/." + echo "Using 'uv' is the prefered way. You can still use python and create a .venv in the project." +else echo "Setting up python environnement with uv" # create or sync the virtual env in the project uv sync --frozen -else - echo "No uv found - Install uv please: https://docs.astral.sh/uv/getting-started/installation/." - echo "Using 'uv' is the prefered way. You can still use python and create a .venv in the project." fi # Check Julia environment ---