Skip to content

Get CI running on ceda-notebooks repo #37

Description

@amanning9

We have a Jupyter Notebooks repository full of notebooks that we have set up:

https://github.com/cedadev/ceda-notebooks

The notebooks can break over time - so we want a Continuous Integration (CI) system that can run through the notebooks and check that they are not producing errors.

We can assume that if all cells in a notebook run without any exceptions being raised then the notebook is good. Mahir started work on this for our ceda-notebooks. Here is an example file that tells GitHub how to set up some environments in the cloud (i.e. on GitHub), and then run the notebooks (lines 43-45) to see if they run successfully:

https://github.com/cedadev/ceda-notebooks/blob/master/.github/workflows/test.yaml

https://github.com/cedadev/ceda-notebooks/actions/runs/4123049436/jobs/7120592411

We need a bit more work on this to get it completed.

Issues to understand/resolve:

  • Can it just run in GitHub?
  • How can we get it running in GitLab - with access to real data?

xref: https://github.com/cedadev/task-board/issues/11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions