From 47cc05c39f5e15855dab4f7c039134de6f5ff27f Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 10 Mar 2025 08:30:20 +0100 Subject: [PATCH] CI: also use a venv for the Windows build job To be more isolated from the host system --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d02efc5..6405ee2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -147,7 +147,10 @@ jobs: env: PIP_DISABLE_PIP_VERSION_CHECK: 1 run: | - python -m pip install --user -r requirements.txt + python -m venv .venv + .\.venv\Scripts\activate + python -m pip install -r requirements.txt + echo "$env:VIRTUAL_ENV\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: autobuild cache uses: actions/cache@v4