Skip to content

Commit

Permalink
Fix coverage data generation and Codecov uploads (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
swayam0322 authored Nov 11, 2024
1 parent fcdee04 commit ad6d732
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ jobs:
tox -e docs
tox -e twinecheck
tox -e linters
- name: coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ deps =
[testenv]
deps =
{[base]deps}
setenv =
PY_IGNORE_IMPORTMISMATCH=1
commands =
py.test \
--cov-report=term-missing:skip-covered \
Expand All @@ -24,7 +22,7 @@ commands =
--cov-report=xml \
--cov=zyte_common_items \
--doctest-glob="*.rst" --doctest-modules \
{posargs:docs tests zyte_common_items}
{posargs:zyte_common_items docs tests}


[testenv:min]
Expand Down

0 comments on commit ad6d732

Please sign in to comment.