mirror of https://github.com/tqdm/tqdm.git
tests: minify tox
This commit is contained in:
parent
f2f47d5f90
commit
b612be49cc
30
tox.ini
30
tox.ini
|
@ -4,17 +4,11 @@
|
||||||
# and then run "tox" from this directory.
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
# deprecation warning: py{34}
|
# deprecation warning: py{27,py2,34,35}
|
||||||
envlist=py{27,34,35,36,37,38,39,py2,py3}{,-tf}{,-keras}, perf, setup.py
|
envlist=py{27,34,35,36,37,38,39,py2,py3}{,-tf}{,-keras}, perf, setup.py
|
||||||
isolated_build=True
|
isolated_build=True
|
||||||
|
|
||||||
[coverage]
|
[core]
|
||||||
commands=
|
|
||||||
- coveralls
|
|
||||||
codecov -X pycov -e TOXENV
|
|
||||||
- codacy report -l Python -r coverage.xml --partial
|
|
||||||
|
|
||||||
[extra]
|
|
||||||
deps=
|
deps=
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
|
@ -24,14 +18,14 @@ deps=
|
||||||
coveralls
|
coveralls
|
||||||
codecov
|
codecov
|
||||||
commands=
|
commands=
|
||||||
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not perf"
|
- coveralls
|
||||||
{[coverage]commands}
|
codecov -X pycov -e TOXENV
|
||||||
allowlist_externals=codacy
|
- codacy report -l Python -r coverage.xml --partial
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv=CI GITHUB_* TOXENV CODECOV_* COVERALLS_* CODACY_* HOME
|
passenv=TOXENV CI GITHUB_* CODECOV_* COVERALLS_* CODACY_* HOME
|
||||||
deps=
|
deps=
|
||||||
{[extra]deps}
|
{[core]deps}
|
||||||
cython
|
cython
|
||||||
matplotlib
|
matplotlib
|
||||||
numpy
|
numpy
|
||||||
|
@ -39,17 +33,19 @@ deps=
|
||||||
keras: keras
|
keras: keras
|
||||||
py{36,37,38,39}: rich
|
py{36,37,38,39}: rich
|
||||||
tf: tensorflow
|
tf: tensorflow
|
||||||
commands={[extra]commands}
|
commands=
|
||||||
allowlist_externals={[extra]allowlist_externals}
|
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not perf"
|
||||||
|
{[core]commands}
|
||||||
|
allowlist_externals=codacy
|
||||||
|
|
||||||
[testenv:py{27,py2}{,-tf}{,-keras}]
|
[testenv:py{27,py2}{,-tf}{,-keras}]
|
||||||
commands=
|
commands=
|
||||||
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not perf" -o addopts= -v --tb=short -rxs -W=error --durations=10
|
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not perf" -o addopts= -v --tb=short -rxs -W=error --durations=10
|
||||||
{[coverage]commands}
|
{[core]commands}
|
||||||
|
|
||||||
# no cython/numpy/pandas
|
# no cython/numpy/pandas
|
||||||
[testenv:py{34,py2,py3}]
|
[testenv:py{34,py2,py3}]
|
||||||
deps={[extra]deps}
|
deps={[core]deps}
|
||||||
|
|
||||||
[testenv:perf]
|
[testenv:perf]
|
||||||
deps=
|
deps=
|
||||||
|
|
Loading…
Reference in New Issue