mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 04:38:24 -04:00
updated run_tests to not use venv in the app if VIRTUAL_ENV is set
This commit is contained in:
@@ -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