codacy: enable coverage, minor badge update

This commit is contained in:
Casper da Costa-Luis 2020-09-28 16:29:56 +01:00
parent 800bc23e58
commit a87a08ee9c
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
3 changed files with 16 additions and 9 deletions

View File

@ -1107,8 +1107,8 @@ Citation information: |DOI|
:target: https://coveralls.io/github/tqdm/tqdm
.. |Branch-Coverage-Status| image:: https://codecov.io/gh/tqdm/tqdm/branch/master/graph/badge.svg
:target: https://codecov.io/gh/tqdm/tqdm
.. |Codacy-Grade| image:: https://api.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177
:target: https://www.codacy.com/app/tqdm/tqdm/dashboard
.. |Codacy-Grade| image:: https://app.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177
:target: https://www.codacy.com/gh/tqdm/tqdm/dashboard
.. |CII Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/3264/badge
:target: https://bestpractices.coreinfrastructure.org/projects/3264
.. |GitHub-Status| image:: https://img.shields.io/github/tag/tqdm/tqdm.svg?maxAge=86400&logo=github&logoColor=white

View File

@ -1322,8 +1322,8 @@ Citation information: |DOI|
:target: https://coveralls.io/github/tqdm/tqdm
.. |Branch-Coverage-Status| image:: https://codecov.io/gh/tqdm/tqdm/branch/master/graph/badge.svg
:target: https://codecov.io/gh/tqdm/tqdm
.. |Codacy-Grade| image:: https://api.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177
:target: https://www.codacy.com/app/tqdm/tqdm/dashboard
.. |Codacy-Grade| image:: https://app.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177
:target: https://www.codacy.com/gh/tqdm/tqdm/dashboard
.. |CII Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/3264/badge
:target: https://bestpractices.coreinfrastructure.org/projects/3264
.. |GitHub-Status| image:: https://img.shields.io/github/tag/tqdm/tqdm.svg?maxAge=86400&logo=github&logoColor=white

17
tox.ini
View File

@ -15,6 +15,12 @@ deps =
commands =
nosetests --with-coverage --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
- coveralls
- coverage xml
- curl -OL https://coverage.codacy.com/get.sh
- bash get.sh report -r coverage.xml
allowlist_externals =
curl
bash
[extra]
deps =
@ -25,9 +31,13 @@ commands =
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
- coveralls
codecov
- coverage xml
- curl -OL https://coverage.codacy.com/get.sh
- bash get.sh report -r coverage.xml
allowlist_externals = {[coverage]allowlist_externals}
[testenv]
passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_*
passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_* HOME CODACY_*
deps =
{[extra]deps}
cython
@ -36,6 +46,7 @@ deps =
tensorflow
keras
commands = {[extra]commands}
allowlist_externals = {[extra]allowlist_externals}
# no cython/numpy/pandas for py{py,py3,26,33,34}
@ -54,20 +65,16 @@ commands =
[testenv:pypy]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:pypy3]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:py33]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:py34]
# py34-compatible pandas
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:tf-no-keras]
deps =