chg: [test] Try to use virtualenv from system packages

pull/8245/head
Jakub Onderka 2022-03-27 18:53:50 +02:00
parent 4af34a999c
commit 5826585454
1 changed files with 1 additions and 2 deletions

View File

@ -68,12 +68,11 @@ jobs:
# hotfix due to: https://bugs.php.net/bug.php?id=81640 TODO: remove after libpcre2-8-0:10.36 gets to stable channel
sudo apt-get --fix-broken install
fi
sudo apt-get -y install curl python3 python3-pip python3-nose apache2 libapache2-mod-php$php_version
sudo apt-get -y install curl python3 python3-pip python3-virtualenv apache2 libapache2-mod-php$php_version
# Runs a set of commands using the runners shell
- name: Install deps
run: |
sudo pip3 install virtualenv # virtualenv must be instaled from pip and not from ubuntu packages
sudo chown $USER:www-data $HOME/.composer
pushd app
sudo -H -u $USER php composer.phar install --no-progress