Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/tox-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,16 @@ jobs:
- name: Run Tox
run: tox -e cov

# Codcov Action required installing pytest-cov as it needs coverage.
# Codecov Action required installing pytest-cov as it needs coverage.
# The coverage library installed within tox is in virt-env and not
# accessible to Codecov.
- name: Install pytest cov
run: pip install pytest-cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
docs:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ deps=
pytest-cov
usedevelop=true
commands=
pytest --cov-report=html --cov=fastpurge {posargs}
pytest --cov-report=html --cov-report=xml --cov=fastpurge {posargs}

[testenv:docs]
deps=
Expand Down