diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a286cac..61c31f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,4 +26,7 @@ jobs: run: pip install tox tox-gh-actions - name: Run tox - run: tox + run: tox -- --cov --cov-report=xml + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 diff --git a/setup.py b/setup.py index c73f3a9..600d401 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ "coverage>=7.4,<7.5", "pylint>=3,<3.1", "pytest>=7.4,<7.5", + "pytest-cov>=4.1.0,<4.2", "mypy>=1.8,<1.9", "types-python-dateutil", "types-requests",