From 26e83b3cef168d8c4d00368c202bff09d199660e Mon Sep 17 00:00:00 2001 From: Daniel Mizsak <62774880+daniel-mizsak@users.noreply.github.com> Date: Thu, 11 Apr 2024 01:13:31 +0200 Subject: [PATCH] Remove coverage generation as codecov seems to do it automatically --- .github/workflows/ci.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 762072b..4a79857 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,28 +18,11 @@ jobs: - name: Check out the codebase. uses: actions/checkout@v4 - - name: Set up python. - uses: actions/setup-python@v5 + - name: Run codecov. + uses: codecov/codecov-action@v4.0.1 with: - python-version: "3.12" - - - name: Upgrade pip. - run: > - python -m pip install --upgrade pip - - - name: Install package locally. - run: > - pip install .[dev] - - - name: Generate coverage report. - run: > - pytest + token: ${{ secrets.CODECOV_TOKEN }} - name: List content of folder. run: > ls -la - - - name: Run codecov. - uses: codecov/codecov-action@v4.0.1 - with: - token: ${{ secrets.CODECOV_TOKEN }}