From 633e5a53dcaa4be578051024cb1458b2d06b3928 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Mon, 11 Aug 2025 14:24:40 +0200 Subject: [PATCH] tests: Update tests scripts. --- tests.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests.sh b/tests.sh index 831d8952..37c35f9b 100755 --- a/tests.sh +++ b/tests.sh @@ -1,12 +1,15 @@ #! /bin/sh -echo " Setup ENV" +if [ -z "$GUIX_ENVIRONMENT" ] +then + echo " Setup ENV" -python3 -m venv venv -. venv/bin/activate -pip3 install -U pip -pip3 install -r ./full-requirements.txt -pip3 install -U -r ./full-requirements.txt + python3 -m venv venv + . venv/bin/activate + pip3 install -U pip + pip3 install -r ./full-requirements.txt + pip3 install -U -r ./full-requirements.txt +fi echo " UNITTEST"