Skip to content

Commit

Permalink
re-enabling codecov as part of CI process (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim authored Oct 26, 2021
1 parent 20f71ab commit 2b0a1e7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on:
- 'docs/**'
- '**/*.rst'
- '**/*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**/*.rst'
- '**/*.md'

jobs:

Expand Down Expand Up @@ -47,6 +42,11 @@ jobs:
run: |
pip install -r dev_requirements.txt
invoke tests
- name: Upload codecov coverage
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

build_package:
name: Validate building and installing the package
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ The Python interface to the Redis key-value store.
[![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)
[![image](https://readthedocs.org/projects/redis-py/badge/?version=stable&style=flat)](https://redis-py.readthedocs.io/en/stable/)
[![image](https://badge.fury.io/py/redis.svg)](https://pypi.org/project/redis/)
[![image](https://codecov.io/gh/redis/redis-py/branch/master/graph/badge.svg)](https://codecov.io/gh/redis/redis-py)
[![codecov](https://codecov.io/gh/redis/redis-py/branch/master/graph/badge.svg?token=yenl5fzxxr)](https://codecov.io/gh/redis/redis-py)


## Python 2 Compatibility Note

Expand Down
1 change: 1 addition & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest==6.2.5
tox==3.24.4
tox-docker==3.1.0
invoke==1.6.0
pytest-cov>=3.0.0
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ docker =
extras =
hiredis: hiredis
commands =
pytest -W always {posargs}
pytest --cov=./ --cov-report=xml -W always {posargs}

[testenv:devenv]
skipsdist = true
Expand Down

0 comments on commit 2b0a1e7

Please sign in to comment.