[ci] Refactor notebook testing
Before: Notebooks were run in build jupyter-job inside a container with PETSc-config.
Now:
- Notebooks are run in
build linux arch(serial config) - Some notebooks are run in
build linux petsc(petsc config) - Jupyter container are build on master-only (in
container-job) - Feedback on Notebook tests are much faster!
- Notebook tests have to be added to ctest by using
NotebookTest()CMake function (are active whenOGS_USE_PIP=ON)- Therefore notebooks are executed also on other platforms (had to disable
Linear_Disc_with_hole_convergence_analysison Windows because it did not run in CI (no ogs output) and I could not reproduce the error)
- Therefore notebooks are executed also on other platforms (had to disable
- Added new job
test notebooks via wheelwhich runs the notebooks with a specific OGS pip package (seerequirements-ogs.txt)
Also:
- Notebook requirements were moved to
Tests/Data/requirements*.txt(fromversions.json) - Refactored notebooks to use an output directory for all outputs (separates from source-directory)
- Refactored docs on notebooks a bit
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behavior change was documented? -
mac -
win ( 'msh2vtu' is not recognized as an internal or external command,) -
linux docker -
container-maker
Edited by Lars Bilke