From 522a79acbb44c3e3cbf2c9fa663706e237ed2684 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Fri, 1 Dec 2023 19:56:25 +0100 Subject: [PATCH] github-actions: try setup install user --- .github/workflows/actions.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8295039e..b538ea4f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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