Skip to content

Commit

Permalink
codacy: enable coverage, minor badge update
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Sep 29, 2020
1 parent 800bc23 commit a87a08e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .meta/.readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 12 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -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
Expand All @@ -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}

Expand All @@ -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 =
Expand Down

0 comments on commit a87a08e

Please sign in to comment.