-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add PR-Based Config Testing Workflow #120
Comments
We are planning to rename our branches to follow the same naming format as other repositories, e.g. with We would like on creation/update of a PR, for it to trigger the workflow run and then have a mechanism for the developer to confirm they want the checksum to be updated if they change (e.g. a trigger word for the bot, which then commits the new checksum to the branch). We would also like to capture the four files from the output with the file names Its probably also worth rerunning the workflow after a merge commit to confrim the merge hasn't changed anything. The main thing initially is to get the workflow running, and over time, we can improve and add tests to the |
I linked the wrong issue, whoops |
Thanks @anton-seaice, getting to this now. |
@minghangli-uni Just confirming, we want to copy @aekiss - Do we want the test to fail if the files have changed, or commit them? (Or fail and the files can be committed with a keyword action in a comment(e.g. |
Ok - so we need to confirm that is the setting in the repository settings ? edit: I guess I mean, if you click |
There is a branch protection setting that enforces that merging is only available if your are on the |
@chrisb13 - Can you turn on the setting "Require branches to be up to date before merging" |
Linking to issue discussing
Sounds good to me. We could put them in the root directory, but using a
I think fail and the files can be committed with a keyword action in a comment (e.g. |
Thanks for the clarification @aekiss In terms of the case where the files in |
Thanks - that sounds correct @CodeGat You would only not update docs if it the PR had some issue with it (e.g. changing defaults from a new binary that weren't expected) that is addressed in some other way (e.g. by changing the config). |
Now done, I think. Let me know if it hasn't worked please. Or if we add further branches that it needs to be applied to. |
The changes in #136 (specifically the stuff in |
Background
In a similar vein to the existing
access-om2-configs
/access-esm1.5-configs
CI infrastructure, create anaccess-om3
-specific PR-based workflow. Work with @anton-seaice to develop requirements - they could be different to the above config repositories.In any case, use the generic
access-nri/model-config-tests
reusable workflows that already exist (may have to be modified to support new requirements), to allow for easy porting of features/fixes to other config repositories. This doesn't mean that the CI infrastructure that is specific to this repository (i.e., the stuff in$this_repo/.github/workflows
that isn't calls to generic workflows) has to remain the same.TODO
access-om2-configs
,access-esm1.5-configs
, etc.dev-*
/release-*
branches!test repro [commit]
command to allow easy repro checks on non-release-*
config branchesdocs
as is a requirement foraccess-om3-configs
. This will be handled in the driver.The text was updated successfully, but these errors were encountered: