diff options
author | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-17 21:46:37 +0000 |
---|---|---|
committer | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-17 21:46:37 +0000 |
commit | 4565195a93cd50400038f6d2a9a3ad759e0811bc (patch) | |
tree | 64b79e3ce23bf6294ecc188634d22ea1b684eca3 | |
parent | 4c6cd16bc9ebe75f34a5934cab1e67d1ab8f0bf9 (diff) | |
download | redis-py-4565195a93cd50400038f6d2a9a3ad759e0811bc.tar.gz |
Remove unnecessary pytest-cov dep
-rw-r--r-- | .coveragerc | 2 | ||||
-rwxr-xr-x | docker-entry.sh | 1 | ||||
-rw-r--r-- | tox.ini | 7 |
3 files changed, 8 insertions, 2 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..9be06b9 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +source = redis diff --git a/docker-entry.sh b/docker-entry.sh index efcd205..f1c7baa 100755 --- a/docker-entry.sh +++ b/docker-entry.sh @@ -10,6 +10,7 @@ echo "Testing against Redis Server: ${REDIS_MASTER}" # use the wait-for-it util to ensure the server is running before invoking Tox util/wait-for-it.sh ${REDIS_MASTER} -- tox -- --redis-url=redis://"${REDIS_MASTER}"/9 +tox -e covreport # if the TRAVIS env var is defined, invoke "codecov" if [ ! -z ${TRAVIS-} ]; then @@ -1,5 +1,5 @@ [pytest] -addopts = -s --cov-report=term-missing --cov redis +addopts = -s [tox] minversion = 2.4 @@ -10,7 +10,6 @@ deps = coverage mock pytest >= 2.7.0 - pytest-cov >= 2.10.0 extras = hiredis: hiredis commands = @@ -48,3 +47,7 @@ passenv = TRAVIS TRAVIS_* VCS_* + +[testenv:covreport] +deps = coverage +commands = coverage report |