Skip to content

Commit

Permalink
feat: Github action finilize
Browse files Browse the repository at this point in the history
  • Loading branch information
scientiststwin committed Jul 20, 2023
1 parent eb5493b commit c9b2426
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 0 additions & 6 deletions main.sh

This file was deleted.

0 comments on commit c9b2426

Please sign in to comment.