Skip to content

Commit

Permalink
Fix Coverage generation
Browse files Browse the repository at this point in the history
The `codecov` Python package [1] has been deprecated and now it has been
removed from PyPI too. It can't be used any more. Switch to the current
way of uploading coverage data.

[1] https://github.com/codecov/codecov-python
  • Loading branch information
akikoskinen committed Apr 12, 2023
1 parent d63e032 commit 6d26b60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
${{ runner.os }}-
- name: Install dependencies
run: |
pip install -r requirements-dev.txt codecov
pip install -r requirements-dev.txt pytest-cov
pip install -e .
- name: Run tests
run: pytest -ra -vv --doctest-modules --cov=.

- name: Coverage
run: codecov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

build:
name: Build package
Expand Down

0 comments on commit 6d26b60

Please sign in to comment.