From cfeefd8e5d7dd878049b495bf6e5aa13b17df45c Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Tue, 12 Mar 2024 14:19:24 +0330 Subject: [PATCH] feat: raise error if tests failing! --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index e95edd19..5db146c3 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,7 +2,7 @@ echo "chang dir to dags" cd dags || exit -python3 -m coverage run --omit=tests/* -m pytest . +python3 -m coverage run --omit=tests/* -m pytest . && echo "Tests Passed" || exit 1 cp .coverage ../.coverage cd .. || exit