mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
Add Ubuntu 24.04 Lima VM test track that runs hate_crack installation end-to-end in a real VM, giving higher confidence than Docker-based tests. - Add lima/hate-crack-test.yaml: Ubuntu 24.04 VM config with hashcat and build deps pre-installed via apt; uv installed via official installer - Add tests/test_lima_vm_install.py: mirrors Docker E2E test structure; uses rsync with targeted excludes (wordlists, compiled host binaries) and builds wheel directly to avoid setuptools-scm sdist file filtering - Fix Makefile: add princeprocessor build step with aarch64-compatible CFLAGS (drops -m64); copy binary to submodule root for vendor-assets - Add Lima tests to prek.toml pre-push hook - Document Lima VM tests in TESTING.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
306 B
TOML
13 lines
306 B
TOML
[hooks.pre-push]
|
|
commands = [
|
|
"uv run ruff check hate_crack",
|
|
"uv run ty check hate_crack",
|
|
"HATE_CRACK_SKIP_INIT=1 uv run pytest -q",
|
|
"HATE_CRACK_RUN_LIMA_TESTS=1 uv run pytest tests/test_lima_vm_install.py -v",
|
|
]
|
|
|
|
[hooks.post-commit]
|
|
commands = [
|
|
"bash .claude/audit-docs.sh HEAD",
|
|
]
|