diff --git a/Makefile b/Makefile index 7345cda..da784e7 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,26 @@ -.PHONY: check test run +.PHONY: format lint type test check run docker-build smoke -check: +format: + ruff format . + +lint: ruff format --check . ruff check . + +type: mypy app test: pytest +check: lint type test + run: - uvicorn app.main:app --reload + uvicorn app.main:app --reload --workers 1 + +docker-build: + docker build -t endpoint-monitor:local . + +smoke: + curl --fail http://127.0.0.1:8000/healthz + curl --fail http://127.0.0.1:8000/readyz