mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
regression_test: run in virtual environment if virtual environment exists
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -106,6 +106,7 @@ git pull --rebase
|
||||
python3 -m pip install --upgrade pip
|
||||
if [ -d "/home/lanforge/lanforge_env" ]
|
||||
then
|
||||
source /home/lanforge/lanforge_env/bin/activate
|
||||
pip3 install --upgrade lanforge-scripts
|
||||
else
|
||||
pip3 install --user -r ../requirements.txt --upgrade
|
||||
|
||||
Reference in New Issue
Block a user