Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github action to run bids-validator on bids-examples #1931

Open
yarikoptic opened this issue Apr 16, 2024 · 0 comments
Open

github action to run bids-validator on bids-examples #1931

yarikoptic opened this issue Apr 16, 2024 · 0 comments
Labels
BEP ongoing BIDS Extension Proposal

Comments

@yarikoptic
Copy link
Contributor

inspired by

I think we should make it very easy for PRs against bids-specification, which change schema, to run validator using modified schema against target (or all) bids-examples. Originally I thought it should be just a matter of documentation:

but I think we just need an action so we could just have

- uses: bids-standard/bids-validator@master
  with:
     bids-examples-glob: *
     schema-version: inplace

by default in bids-specification and make it active for any change to src/schema.

And then BEP PRs would gain possibility to point to a corresponding branch in bids-examples, e.g.

- uses: bids-standard/bids-validator@master
  with:
     bids-examples-glob: *
     bids-examples-fork: yarikoptic/bids-examples
     bids-examples-branch: bep032
     schema-version: inplace

this would make it super easy to ensure that changes to schema are validated properly and hide away all needed intricacies of setting up/running bids-validator (#1930).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BEP ongoing BIDS Extension Proposal
Projects
None yet
Development

No branches or pull requests

1 participant