-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 825 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.PHONY: setup migrate run localstack test test-aws-local lint validate-infra smoke-sandbox smoke-sandbox-ses-events format
setup:
@test -f .env || cp .env.example .env
uv sync
uv run python manage.py migrate
migrate:
uv run python manage.py migrate
run:
uv run python manage.py runserver
localstack:
docker compose --profile aws-local up localstack
test:
uv run pytest
test-aws-local:
uv run pytest -m aws_local
lint:
uv run ruff check .
uv run python scripts/validate_infra.py
validate-infra:
uv run python scripts/validate_infra.py
smoke-sandbox:
uv run python scripts/smoke_test_sandbox.py --terraform-dir terraform/datamailer-sandbox
smoke-sandbox-ses-events:
uv run python scripts/smoke_test_sandbox.py --terraform-dir terraform/datamailer-sandbox --ses-event-smoke
format:
uv run ruff format .