Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 16 additions & 3 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: pyleo
environment-file: environment.yml
Expand All @@ -22,7 +22,20 @@ jobs:
conda activate pyleo
pip install pytest-xdist nbmake
conda list

- name: Test notebooks
run: |
conda activate pyleo
pytest --nbmake -n=auto --nbmake-timeout=3600 notebooks/*ipynb
pytest --nbmake -v --tb=long --overwrite --nbmake-timeout=3600 notebooks/*ipynb || true

- name: Upload executed notebooks
if: always()
uses: actions/upload-artifact@v4
with:
name: executed-notebooks
path: notebooks/*.ipynb

- name: Check for failures
run: |
conda activate pyleo
pytest --nbmake -v --tb=long --nbmake-timeout=3600 notebooks/*ipynb
9 changes: 5 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ channels:
dependencies:
- python==3.12
- cartopy
- xarray
- Bottleneck
- dask
- climlab
- pip
- jupyter
- jupyterlab
- pip:
- pangaeapy
- xarray
- climlab
- pooch
- bottleneck
- dask
- git+https://github.com/LinkedEarth/Pyleoclim_util.git@master
- git+https://github.com/LinkedEarth/pylipd.git@main
- watermark
Expand Down
1,721 changes: 559 additions & 1,162 deletions notebooks/L0_basic_MSES_manipulation.ipynb

Large diffs are not rendered by default.

334 changes: 300 additions & 34 deletions notebooks/L0_working_with_geoseries.ipynb

Large diffs are not rendered by default.

63 changes: 23 additions & 40 deletions notebooks/L1_filtering_and_detrending.ipynb

Large diffs are not rendered by default.

74 changes: 66 additions & 8 deletions notebooks/L1_time_semanics.ipynb

Large diffs are not rendered by default.

120 changes: 46 additions & 74 deletions notebooks/L1_uniform_time_sampling.ipynb

Large diffs are not rendered by default.

Loading