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

Ouranosinc / miranda / 17134902652
18%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2025 05:59PM UTC
Jobs 7
Files 68
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 Aug 2025 05:56PM UTC coverage: 18.928% (+0.9%) from 17.981%
17134902652

push

github

web-flow
Validation module (#233)

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

* Refactors the `validators.py` file into the `validate` submodule
* Adds tests for the `validate` module based on test-examples as well as
existing configurations under `miranda/convert/data`.
* The `ecmwf_cf_attrs.json` configuration now passes validation rules.
* Several obsolete/nonexistent configuration files have been removed
from `miranda.convert.corrections`.
* Skips PDF generation on ReadTheDocs (currently broken).
* Enables Coverage reporting as comments on Pull Requests.
* Allows a connection needed for a GitHub workflow.
* Updates the `README.rst` to remove obsolete project entries.

### Does this PR introduce a breaking change?

Yes. Validation has been completely overhauled:
- `schema.Schema`-based validation is now defined for "Headers",
variables, and dimensions.
- Several formatting rules for JSON files have been put into force.
- Most configuration files are currently failing validation; I might
need some help bringing some of these up to standard.

### Other information:

https://github.com/keleshev/schema

It's very likely that we need to further constrain some checks and relax
others. Some special keys that are needed for validation need to have
more regimented rules, e.g.:
- All JSON configurations need "Headers"
- The expected values associated with underscored keys (e.g.
`_cf_standard_name`) need to be more explicitly-defined.
- Validation of output metadata has not yet been defined (e.g. ensuring
that underscored keys unique to `miranda` have been removed after
formatting).

88 of 110 new or added lines in 14 files covered. (80.0%)

1211 of 6398 relevant lines covered (18.93%)

1.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
17.32
0.0% src/miranda/convert/_reconstruction.py
2
88.24
src/miranda/validate/_dimensions.py
6
33.33
src/miranda/vocabularies/_projects.py
13
72.92
src/miranda/validate/schema.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.12 - 17134902652.1 21 Aug 2025 06:00PM UTC 68
18.76
GitHub Action Run
2 run-Python3.12-conda - 17134902652.2 21 Aug 2025 05:59PM UTC 68
18.69
GitHub Action Run
3 run-Python3.10-conda - 17134902652.3 21 Aug 2025 05:59PM UTC 68
18.69
GitHub Action Run
4 run-3.10 - 17134902652.4 21 Aug 2025 06:00PM UTC 68
18.76
GitHub Action Run
5 run-3.11 - 17134902652.5 21 Aug 2025 06:00PM UTC 68
18.76
GitHub Action Run
6 run-Python3.11-conda - 17134902652.6 21 Aug 2025 05:59PM UTC 68
18.69
GitHub Action Run
7 run-Python3.13-conda - 17134902652.7 21 Aug 2025 06:00PM UTC 68
18.69
GitHub Action Run
Source Files on build 17134902652
  • Tree
  • List 68
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17134902652
  • 35f4337b on github
  • Prev Build on main (#16734380389)
  • Next Build on main (#17135863835)
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