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

CSHS-CWRA / RavenPy / 22917685409
81%

Build:
DEFAULT BRANCH: main
Ran 10 Mar 2026 06:24PM UTC
Jobs 11
Files 49
Run time 1min
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.858%. First build
22917685409

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)

3713 of 4592 relevant lines covered (80.86%)

8.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13-macos-latest-pypi - 22917685409.1 10 Mar 2026 06:37PM UTC 49
80.68
GitHub Action Run
2 run-3.14-ubuntu-latest-conda - 22917685409.2 10 Mar 2026 06:24PM UTC 49
80.35
GitHub Action Run
3 run-3.11-macos-latest-pypi - 22917685409.3 10 Mar 2026 06:34PM UTC 49
80.77
GitHub Action Run
4 run-3.12-macos-latest-pypi - 22917685409.4 10 Mar 2026 06:35PM UTC 49
80.75
GitHub Action Run
5 run-3.10-ubuntu-latest-conda - 22917685409.5 10 Mar 2026 06:25PM UTC 49
80.75
GitHub Action Run
6 run-3.13-ubuntu-latest-pypi - 22917685409.6 10 Mar 2026 06:28PM UTC 49
80.77
GitHub Action Run
7 run-3.14-macos-latest-conda - 22917685409.7 10 Mar 2026 06:24PM UTC 49
80.37
GitHub Action Run
8 run-3.11-ubuntu-latest-pypi - 22917685409.8 10 Mar 2026 06:30PM UTC 49
80.77
GitHub Action Run
9 run-3.10-macos-latest-conda - 22917685409.9 10 Mar 2026 06:26PM UTC 49
80.75
GitHub Action Run
10 run-3.10-ubuntu-latest-pypi - 22917685409.10 10 Mar 2026 06:29PM UTC 49
80.66
GitHub Action Run
11 run-3.12-ubuntu-latest-pypi - 22917685409.11 10 Mar 2026 06:29PM UTC 49
80.77
GitHub Action Run
Source Files on build 22917685409
  • Tree
  • List 49
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22917685409
  • cd8c143b on github
  • Next Build on main (#22971585448)
  • 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