diff --git a/Makefile b/Makefile index 7b5c1b4..1035990 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ docker-create-db-migration: ## Create new alembic database migration aka databa .PHONY: docker-test docker-test: ## Run project tests - docker compose -f compose.yml -f test-compose.yml run --rm app pytest tests + docker compose -f compose.yml -f test-compose.yml run --rm app pytest tests --durations=0 .PHONY: docker-test-snapshot docker-test-snapshot: ## Run project tests with inline snapshot diff --git a/compose.yml b/compose.yml index f9a041d..892008b 100644 --- a/compose.yml +++ b/compose.yml @@ -18,7 +18,7 @@ services: - "8080:8080" depends_on: - db - - redis + - inmemory db: container_name: fsap_db diff --git a/test-compose.yml b/test-compose.yml index f32246c..8643a1a 100644 --- a/test-compose.yml +++ b/test-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: app: environment: