diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 817498a..aedec37 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,4 +25,6 @@ jobs: tox -v -e tests-ci - name: Upload coverage to Codecov if: ${{ matrix.python-version == '3.12' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.gitignore b/.gitignore index 63c8315..ed40235 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ *.egg-info/ *.pyc -.coverage +coverage.xml .eggs .mypy_cache/ .pybuild diff --git a/tox.ini b/tox.ini index 8c69db2..82372a8 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ skip_install = true allowlist_externals = ./tests/datatests.sh commands = - pytest -ra --cov --cov-report=term-missing {posargs} + pytest -ra --cov --cov-report=term-missing --cov-report=xml {posargs} ci: ./tests/datatests.sh deps = ci: codecov