forked from ansible/metrics-utility
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 622 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 622 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
CONTAINER_ENGINE ?= docker
help:
@echo help sync test coverage lint fix compose clean psql
sync:
uv run sync
test:
uv run pytest -s -v
coverage:
uv run pytest -s -v --cov=. --cov-report=html
lint:
uv run ruff check
uv run ruff format --check
fix:
uv run ruff check --fix
uv run ruff format
compose:
${CONTAINER_ENGINE} compose -f tools/docker/docker-compose.yaml up
clean:
${CONTAINER_ENGINE} compose -f tools/docker/docker-compose.yaml down -v
psql:
${CONTAINER_ENGINE} compose -f tools/docker/docker-compose.yaml exec postgres psql -U awx
.PHONY: help sync test coverage lint fix compose clean psql