Skip to content

Commit 57fae87

Browse files
authored
Fix coverage upload. (#325)
1 parent 5e4bce3 commit 57fae87

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,7 @@ jobs:
3535
SPLASH_URL=http://127.0.0.1:8050 tox
3636
3737
- name: Upload coverage report
38-
uses: codecov/codecov-action@v2
38+
uses: codecov/codecov-action@v5
39+
with:
40+
token: ${{ secrets.CODECOV_TOKEN }}
41+

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ deps =
2323
scrapy
2424
commands =
2525
pip install -e .
26-
py.test --doctest-modules --doctest-glob '*.py,*.rst' --cov=scrapy_splash {posargs:README.rst scrapy_splash tests}
26+
py.test --doctest-modules --doctest-glob '*.py,*.rst' --cov=scrapy_splash --cov-report=xml {posargs:README.rst scrapy_splash tests}

0 commit comments

Comments
 (0)