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

Ouranosinc / xscen / 8379993792
90%

Build:
DEFAULT BRANCH: main
Ran 21 Mar 2024 06:31PM 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

21 Mar 2024 06:27PM UTC coverage: 73.701% (+0.4%) from 73.252%
8379993792

push

github

web-flow
Test conversions (#372)

<!-- 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 `xclim_modules/conversions.py`
* Added `context="hydro"` to the precipitation conversion.
* Fixed a bug in `tasmin/max_from_dtr` when `dtr` was in different units
than `tasmin/max`.

### Does this PR introduce a breaking change?

* I changed `dtr` (the function) to `dtr_from_minmax` to avoid conflicts
with `dtr` (the variable). This is only breaking if people directly used
the Python file, which should be no one.


### Other information:

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

2965 of 4023 relevant lines covered (73.7%)

5.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.11 - 8379993792.1 21 Mar 2024 06:34PM UTC 0
71.1
2 run-Python3.11-conda - 8379993792.2 21 Mar 2024 06:34PM UTC 0
73.56
3 run-Python3.12-conda - 8379993792.3 21 Mar 2024 06:34PM UTC 0
73.56
4 run-Python3.9 - 8379993792.4 21 Mar 2024 06:34PM UTC 0
71.06
5 run-Python3.10-conda - 8379993792.5 21 Mar 2024 06:34PM UTC 0
73.56
6 run-Python3.9-conda - 8379993792.6 21 Mar 2024 06:34PM UTC 0
73.52
7 run-Python3.10 - 8379993792.7 21 Mar 2024 06:34PM UTC 0
71.1
8 run-Python3.12 - 8379993792.8 21 Mar 2024 06:34PM UTC 0
71.1
Source Files on build 8379993792
Detailed source file information is not available for this build.
  • Back to Repo
  • 0bae81b0 on github
  • Prev Build on main (#8376882927)
  • Next Build on main (#8421777011)
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