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

Ouranosinc / xclim / 20178345231
92%

Build:
DEFAULT BRANCH: main
Ran 12 Dec 2025 08:04PM UTC
Jobs 5
Files 60
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

12 Dec 2025 07:58PM UTC coverage: 92.101% (+0.03%) from 92.07%
20178345231

push

github

web-flow
Adopt Pytest v9.0+, RuntimeWarning changes (#2276)

### What kind of change does this PR introduce?

* Modifies a few of the squelched `RuntimeWarning` messages in order to
provide more information for users of `indices`, while silencing these
messages for `indicator` users and the CLI.
* Updates `pytest` to the latest conventions (version `9.0+`), enabling
the new `strict` mode.

### Does this PR introduce a breaking change?

For some developers, yes. There will likely be more noise emitted from
workflows relying on `xclim.indices`. These can be set to be ignored
using context managers:
```python
with numpy.errstate(divide='ignore'):
    ...
```
or:
```python
with warnings.catch_warnings():
    warnings.simplefilter("ignore")
    ...
```

### Other information:

The new `pytest` now offers a `strict` mode. This means that
configurations for `markers` and `xfail` must be explicitly defined,
`parametrizations` must always be uniquely-defined, and the
configuration found in `pyproject.toml` must not contain any errors. For
more information:
https://docs.pytest.org/en/stable/reference/reference.html#confval-strict

11 of 11 new or added lines in 6 files covered. (100.0%)

7847 of 8520 relevant lines covered (92.1%)

5.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.python-version }}-conda - 20178345231.1 12 Dec 2025 08:07PM UTC 60
91.97
GitHub Action Run
2 run-3.13-ubuntu-latest- - 20178345231.2 12 Dec 2025 08:04PM UTC 60
88.42
GitHub Action Run
3 run-3.12-ubuntu-latest- - 20178345231.3 12 Dec 2025 08:05PM UTC 60
88.8
GitHub Action Run
4 run-3.10-ubuntu-latest- - 20178345231.4 12 Dec 2025 08:04PM UTC 60
88.43
GitHub Action Run
5 run-3.13-macos-latest- - 20178345231.5 12 Dec 2025 08:06PM UTC 60
91.53
GitHub Action Run
Source Files on build 20178345231
  • Tree
  • List 60
  • Changed 7
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20178345231
  • e51fc473 on github
  • Prev Build on main (#20177676730)
  • Next Build on main (#20236744145)
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

© 2025 Coveralls, Inc