Skip to content

Commit 0d4b022

Browse files
committed
[workflows] add proper codecov action
1 parent 9180b35 commit 0d4b022

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ jobs:
6464
pip install -U tox
6565
tox
6666
67-
- name: Upload coverage report
68-
run: bash <(curl -s https://codecov.io/bash)
67+
- name: Upload to codecov
68+
uses: codecov/codecov-action@v2

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ deps =
1212
-r{toxinidir}/requirements-test.txt
1313
msgpack: -r{toxinidir}/requirements.txt
1414
pypy-msgpack: -r{toxinidir}/requirements-pypy.txt
15-
commands = py.test --cov=scrapinghub --cov-report=
15+
commands = py.test --cov=scrapinghub --cov-report=xml

0 commit comments

Comments
 (0)