mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-28 22:51:14 -07:00
CI: use venv python for pytest
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user