Tools: disable pip install progress bar on github action

This commit is contained in:
Pierre Kancir 2023-08-07 11:33:30 +02:00 committed by Peter Barker
parent 2b8a605fd2
commit e9bcf3b8df
1 changed files with 5 additions and 0 deletions

View File

@ -336,6 +336,7 @@ if $IS_DOCKER; then
fi fi
PIP_USER_ARGUMENT="--user" PIP_USER_ARGUMENT="--user"
# create a Python venv on more recent releases: # create a Python venv on more recent releases:
if [ ${RELEASE_CODENAME} == 'lunar' ]; then if [ ${RELEASE_CODENAME} == 'lunar' ]; then
$APT_GET install python3.11-venv $APT_GET install python3.11-venv
@ -364,6 +365,10 @@ fi
# try update setuptools and wheel before installing pip package that may need compilation # try update setuptools and wheel before installing pip package that may need compilation
$PIP install $PIP_USER_ARGUMENT -U setuptools wheel $PIP install $PIP_USER_ARGUMENT -U setuptools wheel
if [ "$GITHUB_ACTIONS" == "true" ]; then
PIP_USER_ARGUMENT+=" --progress-bar off"
fi
if [ ${RELEASE_CODENAME} == 'lunar' ]; then if [ ${RELEASE_CODENAME} == 'lunar' ]; then
# must do this ahead of wxPython pip3 run :-/ # must do this ahead of wxPython pip3 run :-/
$PIP install $PIP_USER_ARGUMENT -U attrdict3 $PIP install $PIP_USER_ARGUMENT -U attrdict3