Prepare btcprice for Kubernetes deployment
This commit is contained in:
@@ -3,6 +3,7 @@ export
|
||||
|
||||
VENV := .venv
|
||||
UVICORN := $(VENV)/bin/uvicorn
|
||||
TEST_DEPS := $(VENV)/.test-deps
|
||||
|
||||
.PHONY: clean run run-local tailwind test venv
|
||||
|
||||
@@ -25,5 +26,9 @@ run-local: venv
|
||||
tailwind:
|
||||
npm run css:watch
|
||||
|
||||
test: venv
|
||||
$(TEST_DEPS): requirements-dev.txt requirements.txt | venv
|
||||
$(VENV)/bin/pip install -r requirements-dev.txt
|
||||
touch $(TEST_DEPS)
|
||||
|
||||
test: venv $(TEST_DEPS)
|
||||
$(VENV)/bin/python -m pytest tests/
|
||||
|
||||
Reference in New Issue
Block a user