Skip to content

Commit

Permalink
Fix coverage upload. (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR authored Feb 5, 2025
1 parent 67bf205 commit 7f7188d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
run: |
tox -e ${{ matrix.toxenv || 'py' }}
- name: coverage
if: ${{ success() }}
run: bash <(curl -s https://codecov.io/bash)
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

check:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deps =
parsel
commands =
py.test \
--cov-report=html:coverage-html --cov-report= --cov=clear_html \
--cov-report=html:coverage-html --cov-report= --cov-report=xml --cov=clear_html \
--doctest-modules --junitxml=test-results/junit.xml

[testenv:lint]
Expand Down

0 comments on commit 7f7188d

Please sign in to comment.