Skip to content

Commit 3460dd7

Browse files
Merge pull request #36 from crungehottman/update-codecov
Update codecov-action to v4
2 parents d5827bf + 4d18e09 commit 3460dd7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/tox-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,16 @@ jobs:
7474
- name: Run Tox
7575
run: tox -e cov
7676

77-
# Codcov Action required installing pytest-cov as it needs coverage.
77+
# Codecov Action required installing pytest-cov as it needs coverage.
7878
# The coverage library installed within tox is in virt-env and not
7979
# accessible to Codecov.
8080
- name: Install pytest cov
8181
run: pip install pytest-cov
8282
- name: Upload coverage to Codecov
83-
uses: codecov/codecov-action@v3
83+
uses: codecov/codecov-action@v4
84+
env:
85+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8486
with:
85-
token: ${{ secrets.CODECOV_TOKEN }}
8687
fail_ci_if_error: true
8788
verbose: true
8889
docs:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ deps=
2424
pytest-cov
2525
usedevelop=true
2626
commands=
27-
pytest --cov-report=html --cov=fastpurge {posargs}
27+
pytest --cov-report=html --cov-report=xml --cov=fastpurge {posargs}
2828

2929
[testenv:docs]
3030
deps=

0 commit comments

Comments
 (0)