links icon indicating copy to clipboard operation
links copied to clipboard

Validate all turtle in the repo in CI

Open jimkont opened this issue 9 years ago • 5 comments

We had a few syntax errors in some files that took time to identify & fix. The idea is to create a TravisCI script that takes all rdf files in the repo and tries to validate them with rapper. Travis has a new container based infrastructure were we can use normal bash scripts to do the validation http://docs.travis-ci.com/user/migrating-from-legacy/

This approach will also validate all incoming pull requests

jimkont avatar Sep 08 '15 09:09 jimkont

also a way to ensure that the files are ordered would be good

(although this might not be as easy)

jimkont avatar Sep 15 '15 07:09 jimkont

sort -u file.ttl > /tmp/file.ttl ; diff file.ttl f.ttl ??

kurzum avatar Sep 15 '15 09:09 kurzum

yes sure but we need a way to know which files needs to be tested for order ,we have other metadata rdf files in the repo

jimkont avatar Sep 15 '15 09:09 jimkont

Does the validate.sh fix this?

kurzum avatar Oct 25 '16 03:10 kurzum

no, but could be easily integrated now

jimkont avatar Oct 25 '16 06:10 jimkont