mirror of https://github.com/MISP/MISP
chg: [test] Try to use virtualenv from system packages
parent
4af34a999c
commit
5826585454
|
@ -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
|
# 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
|
sudo apt-get --fix-broken install
|
||||||
fi
|
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
|
# Runs a set of commands using the runners shell
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
sudo pip3 install virtualenv # virtualenv must be instaled from pip and not from ubuntu packages
|
|
||||||
sudo chown $USER:www-data $HOME/.composer
|
sudo chown $USER:www-data $HOME/.composer
|
||||||
pushd app
|
pushd app
|
||||||
sudo -H -u $USER php composer.phar install --no-progress
|
sudo -H -u $USER php composer.phar install --no-progress
|
||||||
|
|
Loading…
Reference in New Issue