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

Ouranosinc / xclim / 14112898520
92%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2025 05:30PM UTC
Jobs 8
Files 72
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

27 Mar 2025 05:24PM UTC coverage: 90.005% (-0.02%) from 90.024%
14112898520

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>

5 of 8 new or added lines in 3 files covered. (62.5%)

3 existing lines in 3 files now uncovered.

9698 of 10775 relevant lines covered (90.0%)

7.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.14
-0.57% src/xclim/testing/helpers.py
2
90.32
-0.25% src/xclim/indices/run_length.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.37
-0.93% src/xclim/core/bootstrapping.py
1
92.1
-0.18% src/xclim/core/calendar.py
1
75.77
-0.52% src/xclim/indices/helpers.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.11-ubuntu-latest-standard - 14112898520.1 27 Mar 2025 05:38PM UTC 72
84.23
GitHub Action Run
2 run-{{ matrix.python-version }}-conda - 14112898520.2 27 Mar 2025 05:35PM UTC 71
88.17
GitHub Action Run
3 run-3.11-macos-latest-py311-coverage-extras-lmoments - 14112898520.3 27 Mar 2025 05:38PM UTC 72
88.19
GitHub Action Run
4 run-3.11-ubuntu-latest-preliminary - 14112898520.4 27 Mar 2025 05:38PM UTC 72
82.28
GitHub Action Run
5 run-3.10-ubuntu-latest-standard - 14112898520.5 27 Mar 2025 05:38PM UTC 72
82.65
GitHub Action Run
6 run-3.12-ubuntu-latest-standard - 14112898520.6 27 Mar 2025 05:38PM UTC 72
82.65
GitHub Action Run
7 run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 14112898520.7 27 Mar 2025 05:38PM UTC 72
84.1
GitHub Action Run
8 run-3.12-windows-latest-py312-coverage-prefetch - 14112898520.8 27 Mar 2025 05:38PM UTC 72
82.08
GitHub Action Run
Source Files on build 14112898520
  • Tree
  • List 72
  • Changed 10
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 611d1060 on github
  • Prev Build on main (#14108153231)
  • Next Build on main (#14172890682)
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

© 2025 Coveralls, Inc