Files
trailofbits-dropkit/Makefile
Riccardo Schirone f6bb0e9aca Add E2E lifecycle test and CI workflow (#43)
* 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>
2026-03-24 14:57:58 +01:00

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