diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 859c4bd..289758c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,8 +44,13 @@ jobs: pip install -U tox tox + - name: Upload coverage report + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + pre-commit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: pre-commit/action@v3.0.0 \ No newline at end of file + - uses: pre-commit/action@v3.0.0 diff --git a/tox.ini b/tox.ini index f6e7389..a3d5532 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ deps = commands = py.test \ - --cov-report=term --cov-report= --cov=price_parser \ + --cov-report=term --cov-report= --cov-report=xml --cov=price_parser \ --doctest-modules \ {posargs:price_parser tests README.rst} @@ -21,4 +21,4 @@ commands = mypy -v --ignore-missing-imports --no-warn-no-return price_parser tes [testenv:pre-commit] deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure -skip_install = true \ No newline at end of file +skip_install = true