There was an error while loading. Please reload this page.
1 parent 5dd66e7 commit 970fd92Copy full SHA for 970fd92
1 file changed
Makefile
@@ -1,7 +1,7 @@
1
PORT = 8000
2
HOST = localhost
3
4
-TEST_COMMAND = uv run pytest -s -vv --alluredir=allure-results
+TEST_COMMAND = PYTHONPATH=src uv run pytest -s -vv --alluredir=allure-results
5
COVERAGE_COMMAND = coverage run --branch --concurrency=thread,gevent -m pytest
6
REPORT_COVERAGE_COMMAND = coverage html --show-contexts --title "Coverage for ${SHA}"
7
@@ -28,7 +28,7 @@ COVERAGE_DOCKER_EXEC = ${DOCKER_COMPOSE_CMD} run --rm -u root app
28
# NOTE: Make sure that Redis server is running
29
.PHONY: run
30
run:
31
- uv run uvicorn src.main:app --proxy-headers --host ${HOST} --port ${PORT} --reload
+ PYTHONPATH=src uv run uvicorn src.main:app --proxy-headers --host ${HOST} --port ${PORT} --reload
32
33
.PHONY: run_local
34
run_local:
0 commit comments