mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
fix: remove forced HATE_CRACK_RUN_LIMA_TESTS=1 from pytest-lima hook
The hook was forcing Lima VM tests on every push, causing 5-minute timeouts when limactl has to download the Ubuntu cloud image. The test already has a skip guard - remove the env var from the hook entry so it stays opt-in.
This commit is contained in:
@@ -31,7 +31,7 @@ always_run = true
|
|||||||
[[repos.hooks]]
|
[[repos.hooks]]
|
||||||
id = "pytest-lima"
|
id = "pytest-lima"
|
||||||
name = "pytest-lima"
|
name = "pytest-lima"
|
||||||
entry = "env HATE_CRACK_RUN_LIMA_TESTS=1 uv run pytest tests/test_lima_vm_install.py -v"
|
entry = "uv run pytest tests/test_lima_vm_install.py -v"
|
||||||
language = "system"
|
language = "system"
|
||||||
stages = ["pre-push"]
|
stages = ["pre-push"]
|
||||||
pass_filenames = false
|
pass_filenames = false
|
||||||
|
|||||||
Reference in New Issue
Block a user