github-actions: try setup install user

This commit is contained in:
Martin Bubel 2023-12-01 19:56:25 +01:00
parent 53eb31b88a
commit 522a79acbb

View file

@ -28,17 +28,11 @@ jobs:
with:
python-version: ${{ matrix.version }}
- name: Setup virtual environment
run: |
python --version # this uses python3.12 instead of python3.X
python -m venv .venv
source .venv/bin/activate # this will not work on widows
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install lib
run: python setup.py develop
run: python setup.py develop --user
- name: Run pytest
run: pytest