Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ogsogs
  • ogs
  • Merge requests
  • !4329

[ci] Refactor notebook testing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lars Bilke requested to merge bilke/ogs:refactor-ci-jupyter into master Oct 20, 2022
  • Overview 6
  • Commits 41
  • Pipelines 61
  • Changes 42

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 when OGS_USE_PIP=ON)
    • Therefore notebooks are executed also on other platforms (had to disable Linear_Disc_with_hole_convergence_analysis on Windows because it did not run in CI (no ogs output) and I could not reproduce the error)
  • Added new job test notebooks via wheel which runs the notebooks with a specific OGS pip package (see requirements-ogs.txt)

Also:

  • Notebook requirements were moved to Tests/Data/requirements*.txt (from versions.json)
  • Refactored notebooks to use an output directory for all outputs (separates from source-directory)
  • Refactored docs on notebooks a bit
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
  4. mac
  5. win ('msh2vtu' is not recognized as an internal or external command,)
  6. linux docker
  7. container-maker
Edited Nov 03, 2022 by Lars Bilke
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: refactor-ci-jupyter