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

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

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2025 05:38PM UTC
Files 72
Run time 2s
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.102% (-0.03%) from 84.131%
14112898520.7

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>

9062 of 10775 relevant lines covered (84.1%)

0.84 hits per line

Source Files on job run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 14112898520.7
  • Tree
  • List 72
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14112898520
  • 611d1060 on github
  • Prev Job for on main (#14108153231.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