-
Notifications
You must be signed in to change notification settings - Fork 40
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
Put GH Action in separate repo #223
Comments
Sounds sensible, as long as the validator code stays in the main repo (and is tied to our grammar). I think my vote is for optimade-validator-action, in that case. |
One question does spring to mind, does this mean we won't be able to use the validator action on arbitaray commits inside |
We can add options where the validator uses one of:
Would that be sufficient? |
I am not completely sure what you mean by this? But taking a guess, I'd think you are pointing to a possible issue of updating the validator in this repo and then the PR tests may fail, since the action is pointing to an older edition of this repo? Indeed, this is echoing what @shyamd is suggesting. |
Yes, currently I can test my implementation against the optimade-python-tools commit that was used to create it (say, version 0.5.0), but once the validator action is separate, it will only be able to test whatever version of the models/grammar/validator that the action installs.
This suggestion is fine by me in the long-term, and in the short-term while implementations are in a state of flux, they can always just use the validator directly from the python-tools repo. |
I will build a new repo later today for this. |
Already on it 😅 (https://github.com/Materials-Consortia/optimade-validator-action) |
Status update: As soon as they have been released I will release Also, I will not create a PR removing the action from this repo until |
GitHub recommends to dedicate a repo for a publicly usable Action, see here.
The main point being splitting versioning.
This makes sense to me, so I suggest to move the Action to another repo.
What should the name be?
Edit:
Also, add issue in new repo to add possibility to use specific branch, tag, or even commit from
optimade-python-tools
.The text was updated successfully, but these errors were encountered: