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

Ouranosinc / xclim / 15000291748
92%

Build:
DEFAULT BRANCH: main
Ran 13 May 2025 03:17PM UTC
Jobs 8
Files 59
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

13 May 2025 03:13PM UTC coverage: 92.405% (+0.01%) from 92.392%
15000291748

push

github

web-flow
Fix `find_events` for multidimensional inputs using cftime calendars. (#2172)

<!--Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #xyz
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] CHANGELOG.rst has been updated (with summary of main changes)
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added

### What kind of change does this PR introduce?
The code to get the `event_start` as a datetime object was broken for
multi-dimensionnal data when cftime objects were used. This fixes it by
vectorizing the function.

### Does this PR introduce a breaking change?
No.

### Other information:
I also added a small test for the function. This does not cover all the
cases, but at least it detects the issue fixed.

7555 of 8176 relevant lines covered (92.4%)

8.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.python-version }}-conda - 15000291748.1 13 May 2025 03:21PM UTC 58
92.26
GitHub Action Run
2 run-3.12-ubuntu-latest-standard - 15000291748.2 13 May 2025 03:22PM UTC 59
88.87
GitHub Action Run
3 run-3.11-ubuntu-latest-standard - 15000291748.3 13 May 2025 03:22PM UTC 59
88.94
GitHub Action Run
4 run-3.11-ubuntu-latest-py311-coverage-extras-sbck-offline-prefetch - 15000291748.4 13 May 2025 03:22PM UTC 59
88.81
GitHub Action Run
5 run-3.11-macos-latest-py311-coverage-extras-lmoments - 15000291748.5 13 May 2025 03:22PM UTC 59
92.2
GitHub Action Run
6 run-3.11-ubuntu-latest-preliminary - 15000291748.6 13 May 2025 03:22PM UTC 59
88.66
GitHub Action Run
7 run-3.10-ubuntu-latest-standard - 15000291748.7 13 May 2025 03:22PM UTC 59
88.87
GitHub Action Run
8 run-3.12-windows-latest-py312-coverage-prefetch - 15000291748.8 13 May 2025 03:22PM UTC 59
88.39
GitHub Action Run
Source Files on build 15000291748
  • Tree
  • List 59
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8ec848f2 on github
  • Prev Build on main (#14975973469)
  • Next Build on main (#15139673243)
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