From 9d3c782f41595533308bafb5509da39e6ab2cbe7 Mon Sep 17 00:00:00 2001 From: Alexandre Teles Date: Wed, 12 Jul 2023 04:05:41 -0300 Subject: [PATCH] ci: remove coverage action and others --- .github/workflows/pytest.yml | 6 ------ Dockerfile | 2 +- api/backends/entities.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c1edd1e3..138f7cae 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -41,9 +41,3 @@ jobs: custom-arguments: "--cov --cov-report=xml" env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - - name: Get Coverage - uses: orgoro/coverage@v3 - with: - coverageFile: ./coverage.xml - token: ${{ secrets.GH_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 9ba3e905..c1bbd09e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/app COPY . . RUN apt update && \ - apt-get install build-essential libffi-dev -y \ + apt-get install build-essential libffi-dev --no-install-recommends -y \ && pip install --no-cache-dir -r requirements.txt CMD [ "python3", "-m" , "sanic", "app:app", "--fast", "--access-logs", "--motd", "--noisy-exceptions", "-H", "0.0.0.0"] diff --git a/api/backends/entities.py b/api/backends/entities.py index bad48238..a6e36e67 100644 --- a/api/backends/entities.py +++ b/api/backends/entities.py @@ -26,7 +26,7 @@ def __init__( created_at: str, published_at: str, body: str, - repository: str = None, + repository: Optional[str] = None, ): dict.__init__( self,