Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
777f66f
cwd clause
Mahir-Sparkess Feb 17, 2022
4a76485
requirements.txt
Mahir-Sparkess Feb 17, 2022
899f061
github-action
Mahir-Sparkess Feb 17, 2022
bf9ba5a
checkout branch
Mahir-Sparkess Feb 17, 2022
f26b88d
actions/checkout@v2
Mahir-Sparkess Feb 17, 2022
58c317d
action: install requirements
Mahir-Sparkess Feb 17, 2022
236428f
actions: checkout repo
Mahir-Sparkess Feb 17, 2022
540b107
action: path to archive
Mahir-Sparkess Feb 17, 2022
c5533f9
action: install dependencies
Mahir-Sparkess Feb 17, 2022
7353147
action: sudo apt-get
Mahir-Sparkess Feb 17, 2022
48ec012
action: sudo apt-get
Mahir-Sparkess Feb 17, 2022
e6e21b0
action: fix libpgeos type
Mahir-Sparkess Feb 17, 2022
0d85784
action: install proj-bin geos
Mahir-Sparkess Feb 17, 2022
13adac2
action: install proj-bin libgeos-dev
Mahir-Sparkess Feb 17, 2022
78c879b
requirements
Mahir-Sparkess Feb 17, 2022
3dab66f
dependencies
Mahir-Sparkess Feb 17, 2022
4a883c4
downgrade cartopy
Mahir-Sparkess Feb 17, 2022
6971f00
downgrade cartopy
Mahir-Sparkess Feb 17, 2022
d5312c7
Use conda to install dependencies
Mahir-Sparkess Feb 21, 2022
10163ff
install anaconda
Mahir-Sparkess Feb 21, 2022
f01d638
install anaconda
Mahir-Sparkess Feb 21, 2022
573a303
install anaconda
Mahir-Sparkess Feb 21, 2022
be91895
rerun esacci notebook
Mahir-Sparkess May 17, 2022
c07cef3
Merge branch 'issue/29/github-actions' of https://github.com/Mahir-Sp…
Mahir-Sparkess May 17, 2022
647b1fd
Merge pull request #32 from Mahir-Sparkess/issue/29/github-actions
Mahir-Sparkess May 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: test-notebooks
on:
[push]

jobs:
test:
runs-on: ubuntu-latest
container: python:3.8

steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
update-conda: true
python-version: 3.8
conda-channels: anaconda, conda-forge
- run: conda --version
- run: which python

- name: Checkout
uses: actions/checkout@v2

- name: Install mini-archive
uses: actions/checkout@v2
with:
repository: mahir-sparkess/mini-ceda-archive
path: mini-ceda-archive
ref: ceda-notebooks

- name: Create symlinks
run: |
ln -s mini-ceda-archive/archive/neodc /neodc
ln -s mini-ceda-archive/archive/badc /badc
ln -s mini-ceda-archive/archive/gws /gws

- name: Install dependencies
run: |
conda env create -f environment.yaml
conda activate nb-pkgs
conda env list

- name: Run test suite
run: |
pytest --nbmake notebooks/
21 changes: 21 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: nb-pkgs
dependencies:
- python=3.8
- numpy=1.22.2
- pandas=1.4.1
- matplotlib=3.5.1
- xarray=0.21.1
- netCDF4=1.5.8
- GDAL=3.4.1
- seaborn=0.11.2
- scipy=1.8.0
- scikit-learn=1.0.2
- Cython=0.29.28
- Cartopy=0.18.0
- ipywidgets
- simplejson
- jupyter
- notebook
- tabulate
- pytest
- nbmake
134 changes: 67 additions & 67 deletions notebooks/data-notebooks/cmip6/cmip6-zarr-jasmin.ipynb

Large diffs are not rendered by default.

Loading