From 8ebfc3725331f577de263a0aceabbdc003dc09e9 Mon Sep 17 00:00:00 2001 From: Sergey Misuk Date: Wed, 22 May 2024 12:03:37 +0300 Subject: [PATCH] Fix run test command --- ops/compose.ci-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/compose.ci-test.yml b/ops/compose.ci-test.yml index cec7174a..e8228771 100644 --- a/ops/compose.ci-test.yml +++ b/ops/compose.ci-test.yml @@ -3,7 +3,7 @@ version: '3.8' services: backend: image: ${backend_image} - command: tests + command: pytest tests/ --cov -n auto --create-db -c pytest.ini environment: - SECRET_KEY=secret-key - DATABASE_URL=postgres://postgres:postgres@db:5432/postgres