hubverse-org / hubValidations

Testing framework for hubverse hub validations
https://hubverse-org.github.io/hubValidations/
Other
1 stars 4 forks source link

Add message to `validate_pr()` notifying of files submitted to non validated directories #26

Closed annakrystalli closed 1 year ago

annakrystalli commented 1 year ago

Any file submitted to locations other than model-output or model-metadata is not validated by validate_pr(),

Add a message pops up on the pull request saying something like, "this pull request includes one or more files that are in a location other than model-output or model-metadata", as is done in the US covid hub. (@elray1 if there's some relevant code for this, feel free to add a link although I imagine it's in python?)

annakrystalli commented 1 year ago

Additional relevant discussion

Right, I also wasn't totally clear about this but basically landed in a similar place to where you did:

_Originally posted by @elray1 in https://github.com/Infectious-Disease-Modeling-Hubs/hubValidations/pull/21#discussion_r1327483993_