mirror of
https://github.com/trailofbits/dropkit
synced 2026-06-21 14:11:54 +00:00
f6bb0e9aca
* Add E2E lifecycle test for create/destroy workflow Bash script that exercises the full droplet lifecycle: create (no Tailscale), verify SSH config, run commands over SSH, destroy, and verify cleanup --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: dm <alexis.challande@trailofbits.com>
23 lines
598 B
Makefile
23 lines
598 B
Makefile
.PHONY: help dev lint format test e2e audit
|
|
|
|
help: ## Show available targets
|
|
@grep -E '^[a-zA-Z0-9_-]+:.*##' $(MAKEFILE_LIST) | awk -F ':.*## ' '{printf " %-12s %s\n", $$1, $$2}'
|
|
|
|
dev: ## Install all dependencies
|
|
uv sync --all-groups
|
|
|
|
lint: ## Run linter and type checker
|
|
uv run ruff format --check . && uv run ruff check . && uv run ty check dropkit/
|
|
|
|
format: ## Auto-format code
|
|
uv run ruff format .
|
|
|
|
test: ## Run tests
|
|
uv run pytest
|
|
|
|
e2e: ## Run E2E lifecycle test (creates a real droplet)
|
|
./tests/e2e/test_lifecycle.sh
|
|
|
|
audit: ## Audit dependencies for vulnerabilities
|
|
uv run pip-audit
|