From 18b268560366c0abe1d184851029f3a5607d0717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9cile=20Vuilleumier?= Date: Mon, 7 Oct 2024 10:54:43 +0200 Subject: [PATCH] Use venv --- .github/workflows/main.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 171756e..62d3446 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,8 +23,11 @@ jobs: if: env.HAS_SECRETS == 'HAS_SECRETS' - run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} + - run: | + apt-get install --assume-yes --no-install-recommends python3-pip python3-venv + python3 -m venv /venv + export PATH=/venv/bin:$PATH - run: python3 -m pip install --user --requirement=ci/requirements.txt - - uses: actions/cache@v4 with: path: ~/.cache/pre-commit