Make analysis and model setting able to modify any computation step parameters (MDK parameters) #1790
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to test the MDK command line works by invoking | ||
# 'oasislmf model run' on a piwind branch | ||
# | ||
# The output is not checked, and will fail on either exceptions | ||
# or empty output files | ||
name: PiWind MDK | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- stable** | ||
workflow_dispatch: | ||
inputs: | ||
piwind_branch: | ||
description: 'Branch to run PiWind from' | ||
required: true | ||
default: main | ||
mdk_run_type: | ||
description: 'Loss modes to test, options are one of "[gul, il, ri]"' | ||
required: true | ||
default: ri | ||
ods_branch: | ||
description: 'Build ods_tools package before test [git ref]' | ||
required: false | ||
type: string | ||
jobs: | ||
PiWind: | ||
uses: OasisLMF/OasisPiWind/.github/workflows/run_mdk.yml@main | ||
Check failure on line 33 in .github/workflows/piwind-mdk.yml GitHub Actions / .github/workflows/piwind-mdk.ymlInvalid workflow file
|
||
with: | ||
mdk_branch: ${{ github.ref }} | ||
mdk_run_type: ${{ github.event_name != 'workflow_dispatch' && 'ri' || inputs.mdk_run_type }} | ||
piwind_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.piwind_branch }} | ||
ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }} |