CI: use a venv for the linux jobs
To gain more isolation from the host
This commit is contained in:
parent
4413e41389
commit
a2ebb72da0
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -57,7 +57,10 @@ jobs:
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
run: |
|
||||
python -m pip install --user -r requirements.txt
|
||||
python -m venv .venv
|
||||
source .venv/bin/activate
|
||||
python -m pip install -r requirements.txt
|
||||
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: autobuild cache
|
||||
uses: actions/cache@v4
|
||||
|
||||
5
.github/workflows/maint.yml
vendored
5
.github/workflows/maint.yml
vendored
@ -54,7 +54,10 @@ jobs:
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
run: |
|
||||
python -m pip install --user -r requirements.txt
|
||||
python -m venv .venv
|
||||
source .venv/bin/activate
|
||||
python -m pip install -r requirements.txt
|
||||
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Clear failed build types
|
||||
if: ${{ github.event.inputs.clear_failed_build_types != '' }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user