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

Ouranosinc / xscen / 8300211562
90%

Build:
DEFAULT BRANCH: main
Ran 15 Mar 2024 05:43PM UTC
Jobs 8
Files 19
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

15 Mar 2024 05:38PM UTC coverage: 73.252% (+1.9%) from 71.325%
8300211562

push

github

web-flow
Tests for spatial.py, remove old 'region' (#367)

<!-- 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 #xyz
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [x] (If applicable) Tests have been added.
- [x] This PR does not seem to break the templates.
- [x] CHANGES.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?

* Tests for the functions in `xs.spatial`
* Small bugfix in `creep_weights` for an edge case where the grid is
very small, `n` is high, and `mode=wrap`.
* Refactored `subset` to separate into multiple smaller functions.

### Does this PR introduce a breaking change?

* For 2D grids, the grid resolution estimation will now take the maximum
difference, instead of the difference of the first indexes. The impact
should be minimal.
* Remove old (deprecated) instances of `region`
* Remove the deprecated `xs.extract.clisops_subset()`

70 of 70 new or added lines in 1 file covered. (100.0%)

2944 of 4019 relevant lines covered (73.25%)

5.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.11-conda - 8300211562.1 15 Mar 2024 05:46PM UTC 0
73.11
2 run-Python3.9 - 8300211562.2 15 Mar 2024 05:46PM UTC 0
70.61
3 run-Python3.12-conda - 8300211562.3 15 Mar 2024 05:46PM UTC 0
73.11
4 run-Python3.10-conda - 8300211562.4 15 Mar 2024 05:46PM UTC 0
73.11
5 run-Python3.11 - 8300211562.5 15 Mar 2024 05:46PM UTC 0
70.65
6 run-Python3.9-conda - 8300211562.6 15 Mar 2024 05:46PM UTC 0
73.07
7 run-Python3.10 - 8300211562.7 15 Mar 2024 05:46PM UTC 0
70.65
8 run-Python3.12 - 8300211562.8 15 Mar 2024 05:46PM UTC 0
70.65
Source Files on build 8300211562
Detailed source file information is not available for this build.
  • Back to Repo
  • 36628a1a on github
  • Prev Build on main (#8299132047)
  • Next Build on main (#8328661230)
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