diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index bedf0d3..2abb471 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -32,4 +32,11 @@ jobs: uv pip install --system tox - name: Run tests with tox-uv - run: tox -e py \ No newline at end of file + run: tox -e py + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.xml + fail_ci_if_error: true \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 452054d..b5b78d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,6 @@ dev = [ "ruff>=0.7.3", "mypy>=1.13.0", "pre-commit-uv>=4.1.4", - "tox-uv>=1.16.0", ] [tool.mypy] plugins = ['pydantic.mypy'] diff --git a/tox.ini b/tox.ini index 5462bf6..2f72915 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ deps = allowlist_externals = pytest commands = - pytest {posargs:tests} --cov + pytest {posargs:tests} --cov --cov-report=xml [testenv:lint] description = run linters