Closed roll closed 3 years ago
Hy @roll, one more time, congratulation on this work! I wonder if you could help me with one question about the validation it's been done here. I suspect that the actual validation is only in the data files and not using datapackages.json, am I right?
I'm using a simple dataset as an example (github repo) where locally "frictionless validate data/letters-vowels.csv" and "frictionless validate data/letters-consonants.csv" work just fine but "frictionless validate datapackage.json" fails (purposely), as you can see in the picture below:
Despite this "datapackage" error, everything works fine on the GitHub action continuos validation, as you can see below:
Am I right that validations against datapackages.json aren't available yet?
Hi @gabrielbdornas, and thanks!
Frictionless Repository just passes the validation inquiry to Frictionless Framework so it should be possible to do any validations you can do with the framework.
Here is a configuration docs - https://repository.frictionlessdata.io/docs/configuration
In you case, it should work if you add this configuration file:
.github/frictionless.yaml (note that it's not in the workflows folder it's a new file)
main:
tasks:
- source: datapackage.json
@gabrielbdornas
Since v0.14
it detects data packages automatically using this glob - https://github.com/frictionlessdata/repository/blob/main/lib/config.js#L6
DONE in de6d5b0
Overview
We need to gather feedback for 1-2 month and then release.