From 277ab2deef5def4bf0d776d9a5cc494b078d2835 Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Sat, 31 Jan 2026 23:43:35 -0500 Subject: [PATCH] CI: use venv python for pytest --- .github/workflows/tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 078c77f..a457d12 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,16 +20,17 @@ jobs: run: sudo apt-get update && sudo apt-get install -y p7zip-full transmission-cli - name: Install uv - run: python -m pip install --upgrade pip uv==0.9.28 pytest + run: python -m pip install --upgrade pip uv==0.9.28 - name: Install project dependencies run: | - uv venv - uv pip install . + uv venv .venv + uv pip install --python .venv/bin/python pytest + uv pip install --python .venv/bin/python . - name: Run tests env: HATE_CRACK_RUN_E2E: "0" HATE_CRACK_RUN_DOCKER_TESTS: "0" HATE_CRACK_RUN_LIVE_TESTS: "0" - run: uv run pytest -v + run: .venv/bin/python -m pytest -v