From 69f0fe5d2f3c64d0b9ef8b87652864921776c157 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Fri, 1 Dec 2023 19:36:28 +0100 Subject: [PATCH] github actions: add python venv to prevent permission error --- .github/workflows/actions.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 685f6807..feeefee8 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -28,6 +28,11 @@ jobs: with: python-version: ${{ matrix.version }} + - name: Setup virtual environment + run: | + python -m venv .venv + source .venv/bin/activate # this will not work on widows + - name: Upgrade pip run: pip install --upgrade pip