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

Ouranosinc / miranda / 15475416758 / 3
18%
main: 18%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2025 07:23PM UTC
Files 60
Run time 9s
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

05 Jun 2025 07:19PM UTC coverage: 17.743% (+3.9%) from 13.83%
15475416758.3

push

github

web-flow
Testing Data and Distributed Testing (#241)

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

* Adds a helper function (`cassini`) for fetching data from the newly
minted `Ouranosinc/miranda-testdata`.
* The testing data fetching mechanism from `xclim` has been largely
adapted to `miranda`.
  * This can be found in the new `miranda.testing` module.
* The data registry (`miranda/testing/registry.txt`) is now the
mechanism for tracking and validating testing data.
  * New testing fixtures are available:
    * `open_dataset`: for one-off fetching a dataset (in notebooks)
    * `cassini`: for fetching data in `pytests` (`cassini.fetch()`)
* `era5_precip`: for fetching and unzipping the ERA5 precipitation zip
file containing `tp` and `ptype`. Returns a dictionary with file
locations.
* `show_versions()` is now based on `xclim.testing.show_versions()` in
order to reduce (some) redundancy. The dependencies are now fetched
dynamically, same as can be found in `xscen` (full credit to @RondeauG).
* This PR adds a few tests to some helper functions and fixes a few
small issues with them.

### Does this PR introduce a breaking change?

Yes:
* `publish_release_notes()` has moved to `testing` as it's a publishing
helper function and not an actual utility.
* The `dev` recipe now requires `pytest-xdist` for multithreaded testing
(this will be handy for any tests that rely on external requests).
* The existing CMIP5-based testing data found under `tests` has been
removed (it wasn't used anywhere in the code base).

### Other information:

https://github.com/Ouranosinc/miranda-testdata

1118 of 6301 relevant lines covered (17.74%)

0.18 hits per line

Source Files on job run-Python3.11-conda - 15475416758.3
  • Tree
  • List 60
  • Changed 16
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15475416758
  • f3847479 on github
  • Prev Job for on main (#15423891849.3)
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