Commit 2a98843f authored by Alexander Skorikov's avatar Alexander Skorikov

Fix doctest failing when progressbar is printed

parent 8cd45f9a
Pipeline #103993117 passed with stage
in 26 minutes and 20 seconds
......@@ -5,6 +5,7 @@ pip_install_unittest_docstring_documentation_coverage:
- apt-get install -qy python3-pip python3-numpy python3-scipy python3-h5py ipython3 python3-natsort python3-sklearn python3-dill python3-ipython-genutils python3-matplotlib python3-skimage python3-pint python3-requests python3-tqdm python3-traits python3-toolz python3-jupyter-client python3-ipython python3-ipykernel python3-markupsafe python3-bleach python3-entrypoints python3-html5lib python3-ipywidgets python3-jinja2 python3-jsonschema python3-mistune python3-nbconvert python3-nbformat python3-notebook python3-pandas python3-pandocfilters python3-patsy python3-terminado python3-testpath python3-webencodings python3-widgetsnbextension python3-pyqt5 python3-sympy python3-sparse python3-imageio python3-ptable python3-llvmlite python3-numba python3-sparse python3-statsmodels
- apt-get install -qy xvfb python3-pytest python3-pytest-cov
- pip3 install .
- python3 -c "from hyperspy.api import preferences; preferences.General.nb_progressbar = False;" # Set progressbar to console mode for testing docstrings
- xvfb-run -a --server-args="-screen 0, 1024x768x24" python3 -m pytest --doctest-modules --cov=atomap atomap/
- xvfb-run -a --server-args="-screen 0, 1024x768x24" python3 -m pytest --doctest-glob="*.rst" doc/
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment