From b1b941e953257ab8c0925603326e0434174cf244 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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ops/compose.ci-test.yml b/ops/compose.ci-test.yml index cec7174a..e4e4bc33 100644 --- a/ops/compose.ci-test.yml +++ b/ops/compose.ci-test.yml @@ -3,7 +3,12 @@ version: '3.8' services: backend: image: ${backend_image} - command: tests + command: + - /bin/bash + - -c + - | + pdm init + pdm run coverage environment: - SECRET_KEY=secret-key - DATABASE_URL=postgres://postgres:postgres@db:5432/postgres