Skip to content

Commit f830e64

Browse files
committed
Use nbval
Signed-off-by: martinRenou <[email protected]>
1 parent 99cf7f4 commit f830e64

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ install:
2222
- conda update -q conda
2323
- conda info -a
2424
- 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
2626
- 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
2727
- pip install .
2828
script:

pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[pytest]
2+
testpaths = examples
3+
norecursedirs = node_modules .ipynb_checkpoints
4+
addopts = --nbval --current-env

0 commit comments

Comments
 (0)