CI: use venv python for pytest

This commit is contained in:
Justin Bollinger
2026-01-31 23:43:35 -05:00
parent 0351431806
commit 277ab2deef
+5 -4
View File
@@ -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