From 51c20c28eb2ba19bb772a0a86670ff1a3f707c14 Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Sun, 20 Oct 2024 19:51:29 +0200 Subject: [PATCH] compose small updates --- Makefile | 2 +- compose.yml | 2 +- test-compose.yml | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) 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: