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

Ouranosinc / xclim / 18887188230
92%

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

28 Oct 2025 07:42PM UTC coverage: 92.122% (+0.001%) from 92.121%
18887188230

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.

3 of 3 new or added lines in 2 files covered. (100.0%)

7846 of 8517 relevant lines covered (92.12%)

8.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.12-ubuntu-latest-standard - 18887188230.1 28 Oct 2025 07:52PM UTC 61
88.7
GitHub Action Run
2 run-3.11-ubuntu-latest-preliminary - 18887188230.2 28 Oct 2025 07:52PM UTC 61
88.51
GitHub Action Run
3 run-3.11-ubuntu-latest-standard - 18887188230.3 28 Oct 2025 07:52PM UTC 61
88.8
GitHub Action Run
4 run-3.11-ubuntu-latest-py311-coverage-extras-sbck-offline-prefetch - 18887188230.4 28 Oct 2025 07:52PM UTC 61
88.67
GitHub Action Run
5 run-3.11-macos-latest-py311-coverage-extras-lmoments - 18887188230.5 28 Oct 2025 07:52PM UTC 61
91.92
GitHub Action Run
6 run-{{ matrix.python-version }}-conda - 18887188230.6 28 Oct 2025 07:51PM UTC 60
91.98
GitHub Action Run
7 run-3.12-windows-latest-py312-coverage-prefetch-noh5py - 18887188230.7 28 Oct 2025 07:52PM UTC 61
88.25
GitHub Action Run
8 run-3.10-ubuntu-latest-standard - 18887188230.8 28 Oct 2025 07:52PM UTC 61
88.7
GitHub Action Run
Source Files on build 18887188230
  • Tree
  • List 61
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cbf826b2 on github
  • Prev Build on main (#18886590555)
  • Next Build on main (#18917736846)
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