mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
updated run_tests to not use venv in the app if VIRTUAL_ENV is set
This commit is contained in:
committed by
Chris Hill-Scott
parent
cf80d0da26
commit
cca5145e54
@@ -24,7 +24,7 @@ function display_result {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -d venv ]; then
|
if [[ -z "$VIRTUAL_ENV" ]] && [[ -d venv ]]; then
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
fi
|
fi
|
||||||
pycodestyle .
|
pycodestyle .
|
||||||
|
|||||||
Reference in New Issue
Block a user