ci: use virtualenvs for jobs that use pip

Pip now refuses to tamper with the system python installation.
This commit is contained in:
Hugo Osvaldo Barrera 2023-06-26 18:46:54 +02:00 committed by Hugo
parent 7403182645
commit 7e5910a341
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,9 @@ environment:
REQUIREMENTS: minimal
# TODO: ETESYNC_TESTS
tasks:
- venv: |
python -m venv $HOME/venv
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
- setup: |
sudo systemctl start docker
cd vdirsyncer

View file

@ -17,6 +17,9 @@ environment:
REQUIREMENTS: release
# TODO: ETESYNC_TESTS
tasks:
- venv: |
python -m venv $HOME/venv
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
- setup: |
sudo systemctl start docker
cd vdirsyncer