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

Ouranosinc / miranda / 17134902652 / 1
18%
main: 18%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2025 06:00PM UTC
Files 68
Run time 5s
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.756% (+0.9%) from 17.807%
17134902652.1

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).

1200 of 6398 relevant lines covered (18.76%)

0.19 hits per line

Source Files on job run-3.12 - 17134902652.1
  • Tree
  • List 68
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17134902652
  • 35f4337b on github
  • Prev Job for on main (#16734380389.6)
  • Next Job for on main (#17135863835.2)
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