The python scripts/notebooks can be easily tested automatically at every push/PR by adding a Github Action workflow that:
Installs the right dependencies (see #13 )
Converts each notebook to a python script
Runs the python script and ensure no error is raised
Optional: we can even test the outputs of these scripts (csv files, images) by comparing the files against gold standards. But I don't think that's necessary
This would help reducing the code duplication (notebooks and python scripts have the same content as discussed in #10 ) since we could simply get rid of the python scripts and keep the notebooks
The python scripts/notebooks can be easily tested automatically at every push/PR by adding a Github Action workflow that:
This would help reducing the code duplication (notebooks and python scripts have the same content as discussed in #10 ) since we could simply get rid of the python scripts and keep the notebooks