• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CSHS-CWRA / RavenPy / 22917685409 / 2
81%
main: 81%

Build:
DEFAULT BRANCH: main
Ran 10 Mar 2026 06:38PM UTC
Files 49
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Mar 2026 06:19PM UTC coverage: 80.347%. First build
22917685409.2

push

github

web-flow
Optimize notebooks and use latest climpred (#584)

### What kind of change does this PR introduce?

* Updates the notebooks to address deprecation warnings and errors.
* Updates `climpred` and `xskillscore` to latest versions.
* Adds a Makefile recipe for discovering all notebooks and running
`pytest` with `nbval`.
* Adjusts some notebooks to reduce their execution time:
* `08_Getting_and_bias_correcting_CMIP6_data.ipynb` now skips the
execution of the last three cells (a warning is posted in the notebook
that these cells are very long to compute already).
* `Perform_a_climate_change_impact_study_on_a_watershed.ipynb` no longer
sets a `numpy` random seed (no longer supported in modern versions).
* Adds a notebook testing workflow that runs on push, pull request, and
on Mondays at 9h.
* Splits the dependencies required to run notebook tests from those
needed to render the documentation without running the notebooks.

### Does this PR introduce a breaking change?

Yes. 
- The latest `xskillscore` (v0.0.29) and `climpred` (v2.6.0) are now
required. These versions address several deprecations from `xarray` and
`numpy` and the packages are generally cleaner. They remain
backwards-compatible to Python 3.10.

- The dependencies found in `environment-docs.yml` now contain only the
dependencies needed for RavenPy and the dependencies needed to render
the documentation without running the notebooks. These dependencies
should eventually be synchronized with the `docs` recipe within
`pyproject.toml`

- The dependencies found in `environment-dev.yml` now include the
dependencies needed to run tests against the notebooks. These
dependencies should be added to their own recipe (`notebooks`) within
pyproject.toml.

### Other information:

The Makefile is quite out of date and could benefit from several recipes
found in other Ouranos projects. After the next cookiecutter update, we
should consider addressing this.

The cookiecutter this project is based on has signifi... (continued)

3610 of 4493 relevant lines covered (80.35%)

0.8 hits per line

Source Files on job run-3.14-ubuntu-latest-conda - 22917685409.2
  • Tree
  • List 49
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22917685409
  • cd8c143b on github
  • Next Job for on main (#22971585448.11)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc