mirror of https://github.com/tqdm/tqdm.git
add pytest.ini
pytest-timer doesn't seem to be working require pytest-cov for py26
This commit is contained in:
parent
7f2545ef00
commit
2e65466e8e
|
@ -0,0 +1,4 @@
|
||||||
|
[pytest]
|
||||||
|
python_files = tests_*.py
|
||||||
|
testpaths = tqdm
|
||||||
|
addopts = -v
|
5
tox.ini
5
tox.ini
|
@ -26,7 +26,6 @@ allowlist_externals =
|
||||||
[extra]
|
[extra]
|
||||||
deps =
|
deps =
|
||||||
{[coverage]deps}
|
{[coverage]deps}
|
||||||
pytest-timer
|
|
||||||
codecov
|
codecov
|
||||||
commands =
|
commands =
|
||||||
pytest --cov=tqdm -k "not tests_perf" -v tqdm/
|
pytest --cov=tqdm -k "not tests_perf" -v tqdm/
|
||||||
|
@ -52,9 +51,9 @@ allowlist_externals = {[extra]allowlist_externals}
|
||||||
# no cython/numpy/pandas for py{py,py3,26,33,34}
|
# no cython/numpy/pandas for py{py,py3,26,33,34}
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
# no codecov and timer for py26
|
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
|
pytest-cov
|
||||||
coverage
|
coverage
|
||||||
coveralls==1.2.0
|
coveralls==1.2.0
|
||||||
codecov
|
codecov
|
||||||
|
@ -80,7 +79,6 @@ deps = {[extra]deps}
|
||||||
[testenv:tf-no-keras]
|
[testenv:tf-no-keras]
|
||||||
deps =
|
deps =
|
||||||
{[extra]deps}
|
{[extra]deps}
|
||||||
pytest-timer
|
|
||||||
tensorflow
|
tensorflow
|
||||||
commands =
|
commands =
|
||||||
pytest tqdm/tests/tests_keras.py -v
|
pytest tqdm/tests/tests_keras.py -v
|
||||||
|
@ -88,7 +86,6 @@ commands =
|
||||||
[testenv:perf]
|
[testenv:perf]
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
pytest-timer
|
|
||||||
commands =
|
commands =
|
||||||
pytest tqdm/tests/tests_perf.py -v
|
pytest tqdm/tests/tests_perf.py -v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue