tests: skip py27 notebook

This commit is contained in:
Casper da Costa-Luis 2021-03-09 00:30:18 +00:00
parent 5cd575b8a8
commit aa2e430865
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
1 changed files with 4 additions and 5 deletions

View File

@ -14,8 +14,8 @@ deps=
pytest-cov
pytest-timeout
py{37,38,39}: pytest-asyncio
ipywidgets
nbval
!py{27,py2}: ipywidgets
!py{27,py2}: nbval
coverage
coveralls
codecov
@ -37,15 +37,14 @@ deps=
py{36,37,38,39}: rich
tf: tensorflow
commands=
pytest --cov=tqdm --cov-report= tests_notebook.ipynb --nbval --current-env -W=ignore --sanitize-with=setup.cfg
!py{27,py2}: pytest --cov=tqdm --cov-report= tests_notebook.ipynb --nbval --current-env -W=ignore --sanitize-with=setup.cfg
pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf"
{[core]commands}
allowlist_externals=codacy
[testenv:py{27,py2}{,-tf}{,-keras}]
commands=
pytest --cov=tqdm --cov-report= tests_notebook.ipynb -o addopts= -v --tb=short -rxs -W=ignore --durations=10 --nbval --current-env --sanitize-with=setup.cfg
pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -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
{[core]commands}
# no cython/numpy/pandas