From c9b2426645d17169c1e32d965710c4d486e59086 Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Thu, 20 Jul 2023 16:42:07 +0400 Subject: [PATCH] feat: Github action finilize --- Dockerfile | 5 +---- main.sh | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 main.sh diff --git a/Dockerfile b/Dockerfile index 4e28728..579ce7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,7 @@ RUN pip3 install -r requirements.txt FROM base AS test RUN python3 -m coverage run -m pytest tests - -RUN chmod +x main.sh -CMD ["./main.sh"] -# CMD ["python3", "-m", "coverage", "lcov" ,"-o", "coverage/coverage.lcov"] +CMD ["python3", "-m", "coverage", "lcov" ,"-o", "coverage/lcov.info"] FROM base AS prod-server CMD ["python3", "server.py"] diff --git a/main.sh b/main.sh deleted file mode 100644 index 8f92d1a..0000000 --- a/main.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -python3 -m coverage lcov -o coverage/lcov.info - -ls -la -ls -la coverage