Refine connection strings (dotenv), Makefile targets
This commit is contained in:
parent
d2fa4c586f
commit
49654eeede
7 changed files with 49 additions and 7 deletions
7
Makefile
7
Makefile
|
@ -14,6 +14,7 @@ help:
|
|||
@echo " format reformat code"
|
||||
@echo " test run all the tests"
|
||||
@echo " shell open a Poetry shell"
|
||||
@echo " redis start a Redis instance with Docker"
|
||||
@echo ""
|
||||
@echo "Check the Makefile to know exactly what each target is doing."
|
||||
|
||||
|
@ -44,7 +45,7 @@ format: $(INSTALL_STAMP)
|
|||
.PHONY: test
|
||||
test: $(INSTALL_STAMP)
|
||||
#$(POETRY) run pytest ./tests/ --cov-report term-missing --cov-fail-under 100 --cov $(NAME)
|
||||
$(POETRY) run pytest ./tests/
|
||||
$(POETRY) run pytest -s -vv ./tests/
|
||||
|
||||
.PHONY: shell
|
||||
shell: $(INSTALL_STAMP)
|
||||
|
@ -53,3 +54,7 @@ shell: $(INSTALL_STAMP)
|
|||
.PHONY: redis
|
||||
redis:
|
||||
docker-compose up -d
|
||||
|
||||
|
||||
.PHONY: all
|
||||
all: redis $(INSTALL_STAMP) lint test
|
Loading…
Add table
Add a link
Reference in a new issue