File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 66 - ' docs/**'
77 - ' **/*.rst'
88 - ' **/*.md'
9- pull_request :
10- paths-ignore :
11- - ' docs/**'
12- - ' **/*.rst'
13- - ' **/*.md'
149
1510jobs :
1611
4742 run : |
4843 pip install -r dev_requirements.txt
4944 invoke tests
45+ - name : Upload codecov coverage
46+ uses : codecov/codecov-action@v2
47+ with :
48+ fail_ci_if_error : false
49+ token : ${{ secrets.CODECOV_TOKEN }}
5050
5151 build_package :
5252 name : Validate building and installing the package
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ The Python interface to the Redis key-value store.
55[ ![ image] ( https://github.com/redis/redis-py/workflows/CI/badge.svg?branch=master )] ( https://github.com/redis/redis-py/actions?query=workflow%3ACI+branch%3Amaster )
66[ ![ image] ( https://readthedocs.org/projects/redis-py/badge/?version=stable&style=flat )] ( https://redis-py.readthedocs.io/en/stable/ )
77[ ![ image] ( https://badge.fury.io/py/redis.svg )] ( https://pypi.org/project/redis/ )
8- [ ![ image] ( https://codecov.io/gh/redis/redis-py/branch/master/graph/badge.svg )] ( https://codecov.io/gh/redis/redis-py )
8+ [ ![ codecov] ( https://codecov.io/gh/redis/redis-py/branch/master/graph/badge.svg?token=yenl5fzxxr )] ( https://codecov.io/gh/redis/redis-py )
9+
910
1011## Python 2 Compatibility Note
1112
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ pytest==6.2.5
33tox==3.24.4
44tox-docker==3.1.0
55invoke==1.6.0
6+ pytest-cov>=3.0.0
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ docker =
8686extras =
8787 hiredis: hiredis
8888commands =
89- pytest -W always {posargs}
89+ pytest -- cov =./ -- cov-report =xml - W always {posargs}
9090
9191[testenv:devenv]
9292skipsdist = true
You can’t perform that action at this time.
0 commit comments