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]
|
||||
deps =
|
||||
{[coverage]deps}
|
||||
pytest-timer
|
||||
codecov
|
||||
commands =
|
||||
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}
|
||||
|
||||
[testenv:py26]
|
||||
# no codecov and timer for py26
|
||||
deps =
|
||||
pytest
|
||||
pytest-cov
|
||||
coverage
|
||||
coveralls==1.2.0
|
||||
codecov
|
||||
|
@ -80,7 +79,6 @@ deps = {[extra]deps}
|
|||
[testenv:tf-no-keras]
|
||||
deps =
|
||||
{[extra]deps}
|
||||
pytest-timer
|
||||
tensorflow
|
||||
commands =
|
||||
pytest tqdm/tests/tests_keras.py -v
|
||||
|
@ -88,7 +86,6 @@ commands =
|
|||
[testenv:perf]
|
||||
deps =
|
||||
pytest
|
||||
pytest-timer
|
||||
commands =
|
||||
pytest tqdm/tests/tests_perf.py -v
|
||||
|
||||
|
|
Loading…
Reference in New Issue