mirror of https://github.com/tqdm/tqdm.git
tests: fix nbval
This commit is contained in:
parent
7cdbfee224
commit
a14ea74a81
4
Makefile
4
Makefile
|
@ -62,11 +62,11 @@ testsetup:
|
|||
python setup.py make none
|
||||
|
||||
testnb:
|
||||
pytest tests_notebook.ipynb --nbval --current-env -W=ignore --sanitize-with=setup.cfg --cov=tqdm.notebook --cov-report=term
|
||||
pytest tests_notebook.ipynb --nbval --nbval-current-env -W=ignore --nbval-sanitize-with=setup.cfg --cov=tqdm.notebook --cov-report=term
|
||||
|
||||
testcoverage:
|
||||
@make coverclean
|
||||
pytest tests_notebook.ipynb --cov=tqdm --cov-report= --nbval --current-env --sanitize-with=setup.cfg -W=ignore
|
||||
pytest tests_notebook.ipynb --cov=tqdm --cov-report= --nbval --nbval-current-env --nbval-sanitize-with=setup.cfg -W=ignore
|
||||
pytest -k "not perf" --cov=tqdm --cov-report=xml --cov-report=term --cov-append --cov-fail-under=80
|
||||
|
||||
testperf:
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -54,7 +54,7 @@ deps=
|
|||
py3{6,7,8,9,10}: rich
|
||||
tf: tensorflow!=2.5.0
|
||||
commands=
|
||||
py3{6,7,8,9,10}: pytest --cov=tqdm --cov-report= tests_notebook.ipynb --nbval --current-env -W=ignore --sanitize-with=setup.cfg
|
||||
py3{6,7,8,9,10}: pytest --cov=tqdm --cov-report= tests_notebook.ipynb --nbval --nbval-current-env -W=ignore --nbval-sanitize-with=setup.cfg
|
||||
pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf"
|
||||
{[core]commands}
|
||||
allowlist_externals=codacy
|
||||
|
|
Loading…
Reference in New Issue