galaxyproject / planemo

Command-line utilities to assist in developing Galaxy and Common Workflow Language artifacts - including tools, workflows, and training materials.
https://planemo.readthedocs.io/
MIT License
86 stars 85 forks source link

Validate with jsonschema #1417

Open mvdbeek opened 7 months ago

mvdbeek commented 7 months ago

also

The schema disallows the - that: has_text style assertions. They continue to work in tests but results in linting errrors, I hope that's ok. I've included the schema for now in planemo, but eventually we should either include it in galaxy-tool-util (as soon as pydantic 2 can be supported) or just publish the schema to https://www.schemastore.org/json/. The process seems easy enough, but we may need to come up with a more unique test file name (*.gxwf-test.yml) ?

jmchilton commented 7 months ago

Can you document some where how planemo/schema/test_file_schema.json is generated? Is that present and I missed it?