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

Ouranosinc / xclim / 14112898520 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2025 05:38PM UTC
Files 72
Run time 4s
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

27 Mar 2025 05:24PM UTC coverage: 84.232% (-0.001%) from 84.233%
14112898520.1

push

github

web-flow
Datetime fixes (#2130)

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

* Removes usage of `xr.cftime_range` which is deprecated. Most calls
were in the tests.
* Avoids `strptime` without year information.
* Add `pd.DatetimeIndex` case to `get_calendar` (I think this worked
previously, but it wasn't tested).
* `test_timeseries` defaults to `cftime=None` (usage of cftime is
determined by the requested calendar)

### Does this PR introduce a breaking change?

No.

Co-authored-by: Pascal Bourgault <bourgault.pascal@ouranos.ca>
Co-authored-by: Éric Dupuis <71575674+coxipi@users.noreply.github.com>

9076 of 10775 relevant lines covered (84.23%)

0.84 hits per line

Source Files on job run-3.11-ubuntu-latest-standard - 14112898520.1
  • Tree
  • List 72
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14112898520
  • 611d1060 on github
  • Prev Job for on main (#14108153231.5)
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