Skip to content

Commit 970fd92

Browse files
committed
Makefile updates
1 parent 5dd66e7 commit 970fd92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PORT = 8000
22
HOST = localhost
33

4-
TEST_COMMAND = uv run pytest -s -vv --alluredir=allure-results
4+
TEST_COMMAND = PYTHONPATH=src uv run pytest -s -vv --alluredir=allure-results
55
COVERAGE_COMMAND = coverage run --branch --concurrency=thread,gevent -m pytest
66
REPORT_COVERAGE_COMMAND = coverage html --show-contexts --title "Coverage for ${SHA}"
77

@@ -28,7 +28,7 @@ COVERAGE_DOCKER_EXEC = ${DOCKER_COMPOSE_CMD} run --rm -u root app
2828
# NOTE: Make sure that Redis server is running
2929
.PHONY: run
3030
run:
31-
uv run uvicorn src.main:app --proxy-headers --host ${HOST} --port ${PORT} --reload
31+
PYTHONPATH=src uv run uvicorn src.main:app --proxy-headers --host ${HOST} --port ${PORT} --reload
3232

3333
.PHONY: run_local
3434
run_local:

0 commit comments

Comments
 (0)