File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,12 @@ install:
22
22
- conda update -q conda
23
23
- conda info -a
24
24
- conda install -c conda-forge mamba
25
- - mamba install -c conda-forge nodejs=13 matplotlib
25
+ - mamba install -c conda-forge nodejs=13 matplotlib pytest nbval
26
+ - pip install pytest-tornasync --no-deps
26
27
- mamba install jupyterlab=3 ipywidgets jupyterlab_widgets -c conda-forge/label/jupyterlab_rc -c conda-forge/label/jupyterlab_server_rc -c conda-forge/label/jupyterlab_widgets_rc -c conda-forge
27
28
- pip install .
28
29
script :
30
+ - pytest
29
31
- test -d $HOME/miniconda/share/jupyter/nbextensions/jupyter-matplotlib
30
32
- test -f $HOME/miniconda/share/jupyter/nbextensions/jupyter-matplotlib/extension.js
31
33
- test -f $HOME/miniconda/share/jupyter/nbextensions/jupyter-matplotlib/index.js
Original file line number Diff line number Diff line change
1
+ [pytest]
2
+ testpaths = examples
3
+ norecursedirs = node_modules .ipynb_checkpoints
4
+ addopts = --nbval --current-env
You can’t perform that action at this time.
0 commit comments