init unit tests

This commit is contained in:
grillazz
2021-03-26 13:07:42 +01:00
parent dd9096df97
commit 786bb23eab
11 changed files with 95 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ build: ## Build project with compose
.PHONY: up
up: ## Run project with compose
docker-compose up
docker-compose up --remove-orphans
.PHONY: down
down: ## Reset project containers with compose
@@ -24,7 +24,7 @@ requirements: ## Refresh requirements.txt from pipfile.lock
.PHONY: test
test: ## Run project tests
docker-compose run --rm web pytest
docker-compose run --rm app pytest
.PHONY: lint
lint: ## Linter project code.