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
|
python setup.py make none
|
||||||
|
|
||||||
testnb:
|
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:
|
testcoverage:
|
||||||
@make coverclean
|
@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
|
pytest -k "not perf" --cov=tqdm --cov-report=xml --cov-report=term --cov-append --cov-fail-under=80
|
||||||
|
|
||||||
testperf:
|
testperf:
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -54,7 +54,7 @@ deps=
|
||||||
py3{6,7,8,9,10}: rich
|
py3{6,7,8,9,10}: rich
|
||||||
tf: tensorflow!=2.5.0
|
tf: tensorflow!=2.5.0
|
||||||
commands=
|
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"
|
pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf"
|
||||||
{[core]commands}
|
{[core]commands}
|
||||||
allowlist_externals=codacy
|
allowlist_externals=codacy
|
||||||
|
|
Loading…
Reference in New Issue