Skip to content

Commit

Permalink
Add coverage upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Feb 5, 2025
1 parent c99cfcb commit 95eecec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- uses: pre-commit/action@v3.0.0
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -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
skip_install = true

0 comments on commit 95eecec

Please sign in to comment.