OGGM / tutorials

Notebook tutorials for the Open Global Glacier Model (OGGM)
https://tutorials.oggm.org
BSD 3-Clause "New" or "Revised" License
17 stars 18 forks source link

Add test checking if all notebooks execute without an error #86

Open pat-schmitt opened 1 year ago

pat-schmitt commented 1 year ago

I just came across how to test jupyter notebooks https://www.blog.pythonlibrary.org/2018/10/16/testing-jupyter-notebooks/.

Maybe adding a simple test just checking if all tutorials pass without an error is a good idea? But maybe it is overkill...

fmaussion commented 1 year ago

The book build allows errors on build:

execute:
  execute_notebooks: auto
  timeout: -1
  allow_errors: true

We could set this to false and see what happens...