mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-08 04:12:30 -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
|
||||
}
|
||||
|
||||
if [ -d venv ]; then
|
||||
if [[ -z "$VIRTUAL_ENV" ]] && [[ -d venv ]]; then
|
||||
source ./venv/bin/activate
|
||||
fi
|
||||
pycodestyle .
|
||||
|
||||
Reference in New Issue
Block a user