activate venv automatically
This commit is contained in:
parent
8239a4cac1
commit
3c767278da
@ -3,6 +3,10 @@
|
|||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
shopt -s dotglob extglob globstar
|
shopt -s dotglob extglob globstar
|
||||||
|
|
||||||
|
if [[ ${GITHUB_ACTIONS:-false} != true ]]; then
|
||||||
|
source venv/bin/activate
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $# -eq 1 ]]; then
|
if [[ $# -eq 1 ]]; then
|
||||||
fd=$1
|
fd=$1
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user