Add test case for refineDiag and preAnalysis capability in workflow#222
Add test case for refineDiag and preAnalysis capability in workflow#222
Conversation
Agent-Logs-Url: https://github.com/NOAA-GFDL/fre-workflows/sessions/0d5a9f43-28f7-49a3-95f7-6c35ffd4a412 Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
|
Looking at what copilot did and what I was also working on for the cloud, they look pretty similar! I'm fixing up paths for the cloud in my PR though. (and adding refinediag) Could be good to divide and conquer - this PR could be for a local test and I'll push up the remote test 👀 |
ilaflott
left a comment
There was a problem hiding this comment.
largely what we want, ready for a real review
oh i was getting schema errors so i made this to plug the gap. sorry i just saw this |
|
clearly this only partially addresses #216 and if @singhd789 wants to supersede it with another PR i am completely fine with that, this was almost entirely motivated by testing NOAA-GFDL/fre-cli#830 |
Adds YAML configuration and dummy scripts to exercise the refineDiag and preAnalysis code paths in the container test workflow.
Describe your changes
for_gh_runner/yaml_workflow/settings.yamldo_refinediag: Trueanddo_preanalysis: True(were bothFalse)refinediag.atmosblock pointing to$CYLC_WORKFLOW_RUN_DIR/etc/refineDiag/dummy.cshwithatmos_monthinputpreanalysis.vitalsblock pointing to$CYLC_WORKFLOW_RUN_DIR/etc/preAnalysis/dummy.cshwithatmos_monthinputetc/preAnalysis/dummy.csh(new)etc/refineDiag/dummy.csh; exits 0 so the workflow task succeedsIssue ticket number and link (if applicable)
Checklist before requesting a review
Manual Pipeline Run Details
Was the manual pipeline (
test_cloud_runner) triggered for this PR?Result of manual pipeline run:
Not yet triggered. The
test_cloud_runnerpipeline should be run to validate that therefineDiagandpreAnalysistasks execute and succeed end-to-end in the container.How to trigger the manual pipeline:
The
test_cloud_runnerpipeline is not automatically associated as a required check with the PR; it must be triggered to test changes in a full post-processing run.To trigger the manual pipeline:
Follow the link to the
test_cloud_runneractions tab hereClick the dropdown "Run workflow":
a. If trying to merge from a branch on fre-workflows: choose branch from the first drop down, leave the next 2 inputs blank, and choose the fre-cli branch to test
b. If trying to merge from a fre-workflows fork: can skip first branch selection, input the fork name (ex: [user]/fre-workflows), input the fork's branch name, and choose the fre-cli branch to test
Click "Run workflow"
Note: you may need to reload the page to see your running workflow.