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

Ouranosinc / xclim / 12261890650
92%

Build:
DEFAULT BRANCH: main
Ran 10 Dec 2024 06:00PM UTC
Jobs 6
Files 72
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

10 Dec 2024 05:55PM UTC coverage: 89.737% (+0.4%) from 89.387%
12261890650

push

github

web-flow
Employ a `src`-based layout for code base (#1971)

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

* Adapts the code base to use a `src`-based layout (in lieu of a flat
code base layout)
* Added a stricter `yamllint` configuration (no changes made to existing
YAML files)
* Pins `pint` to >=0.24.4 in order to support Python3.13 (and evade
failures from `flexparser>=0.4`).

### Does this PR introduce a breaking change?

Yes. The code base has been modified such that existing interactive
(`--editable`) installations will need to be re-installed.

This change prevents developers from accidentally running tests or
importing `xclim` from the root directory. That's essentially the major
gain.

Otherwise, we can say that this brings `xclim` closer in line with the
other `Ouranosinc/cookiecutter-pypackage` template-based projects.

### Other information:


https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/

https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-structure.html#the-src-layout-and-testing

4 of 6 new or added lines in 2 files covered. (66.67%)

9434 of 10513 relevant lines covered (89.74%)

5.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.12-ubuntu-latest-standard - 12261890650.1 10 Dec 2024 06:08PM UTC 0
82.41
GitHub Action Run
2 run-3.11-ubuntu-latest-standard - 12261890650.2 10 Dec 2024 06:08PM UTC 0
83.96
GitHub Action Run
3 run-3.11-macos-latest-py311-coverage-extras - 12261890650.3 10 Dec 2024 06:08PM UTC 0
87.85
GitHub Action Run
4 run-3.10-windows-latest-py310-coverage-prefetch - 12261890650.4 10 Dec 2024 06:08PM UTC 0
81.87
GitHub Action Run
5 run-{{ matrix.python-version }}-conda - 12261890650.5 10 Dec 2024 06:08PM UTC 0
87.88
GitHub Action Run
6 run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 12261890650.6 10 Dec 2024 06:08PM UTC 0
83.91
GitHub Action Run
Source Files on build 12261890650
Detailed source file information is not available for this build.
  • Back to Repo
  • 48a608ea on github
  • Prev Build on main (#12260894328)
  • Next Build on main (#12263007729)
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