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

Ouranosinc / xclim / 18887188230 / 5
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2025 07:52PM UTC
Files 61
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

28 Oct 2025 07:42PM UTC coverage: 91.922% (+0.001%) from 91.921%
18887188230.5

push

github

web-flow
Fix failing tests for upstream xarray with keep attrs change (#2257)

<!--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:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #2250
- [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?
We were relying on xarray _not_ preserving the attributes in a few
places, which changed in the upstream branch, where `keep_attrs` is now
True by default.

I tried to only modify the attributes needed to make xclim work.

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

### Other information:
This doesn't make sure that xclim outputs are still correct with the new
`keep_attrs` default. I mean, I'm not 100% certain that our current
tests really check all that should be checked. This only fixes the
issues in the CI.

7829 of 8517 relevant lines covered (91.92%)

0.92 hits per line

Source Files on job run-3.11-macos-latest-py311-coverage-extras-lmoments - 18887188230.5
  • Tree
  • List 61
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18887188230
  • cbf826b2 on github
  • Prev Job for on main (#18886590555.3)
  • Next Job for on main (#18917736846.1)
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