-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #307 from jedwards4b/preview_namelist_CI
Preview namelist ci
- Loading branch information
Showing
17 changed files
with
76 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
on: | ||
push: | ||
branches: [ master, cesm3.0-alphabranch ] | ||
pull_request: | ||
branches: [ master, cesm3.0-alphabranch ] | ||
|
||
jobs: | ||
preview_namelists: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Lots of python versions, pare down if we don't support a version | ||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | ||
config: | ||
- {"compset": "BLT1850", "res": "ne30pg3_t232"} # fully coupled | ||
- {"compset": "C_JRA", "res": "TL319_t232"} # ocean only | ||
- {"compset": "C1850MARBL_JRA", "res": "TL319_t232"} # ocean only, with BGC | ||
- {"compset": "DTEST", "res": "TL319_t232"} # ice only | ||
- {"compset": "I1850Clm60SpCru", "res": "f10_f10_mg37"} # land only | ||
- {"compset": "QPC6HIST", "res": "f09_f09_mg17"} # atm only | ||
- {"compset": "T1850Gg", "res": "f09_g17_gris4"} # glc only | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Set up non-python environment (need xmllint and a fake ESMF make file) | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions Testing" | ||
echo "ESMFMKFILE=$HOME/esmf.mk" >> ${GITHUB_ENV} | ||
echo "ESMF_VERSION_MAJOR=8" > ${HOME}/esmf.mk | ||
echo "ESMF_VERSION_MINOR=8" >> ${HOME}/esmf.mk | ||
sudo apt-get install libxml2-utils | ||
sudo apt-get install subversion | ||
- name: Checkout CESM | ||
run: | | ||
$GITHUB_WORKSPACE/bin/git-fleximod update | ||
- name: Get WW3 grid data | ||
# WW3 data needs to be prestaged for buildnml to work correctly | ||
run: | | ||
svn co https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/wav/ww3 /home/runner/cesm/inputdata/wav/ww3 | ||
- name: Create new cases, run case.setup, and then preview namelists | ||
run: | | ||
cd $GITHUB_WORKSPACE/cime/scripts | ||
./create_newcase --run-unsupported --mach ubuntu-latest --compset ${{ matrix.config.compset }} --res ${{ matrix.config.res }} --case $GITHUB_WORKSPACE/cases/${{ matrix.config.compset }}_${{ matrix.python-version }} | ||
cd $GITHUB_WORKSPACE/cases/${{ matrix.config.compset }}_${{ matrix.python-version }} | ||
./case.setup | ||
./preview_namelists |
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
Submodule ccs_config
updated
3 files
+2 β2 | machines/Depends.intel-oneapi | |
+2 β0 | machines/Depends.nvhpc | |
+3 β4 | machines/cmake_macros/cray.cmake |
Submodule cime
updated
28 files
Submodule cam
updated
10 files
+5 β5 | .gitmodules | |
+1 β1 | cime | |
+1 β1 | components/cdeps | |
+1 β1 | components/clm | |
+1 β1 | components/cmeps | |
+137 β0 | doc/ChangeLog | |
+1 β1 | share | |
+18 β10 | src/control/cam_initfiles.F90 | |
+16 β19 | src/control/cam_restart.F90 | |
+27 β24 | src/cpl/nuopc/atm_comp_nuopc.F90 |
Submodule cdeps
updated
3 files
+1 β1 | datm/atm_comp_nuopc.F90 | |
+1 β4 | dshr/dshr_mod.F90 | |
+40 β102 | share/nuopc_shr_methods.F90 |
Submodule cice
updated
4 files
+1 β1 | .gitmodules | |
+3 β1 | cime_config/buildnml | |
+3 β3 | cime_config/testdefs/testlist_cice.xml | |
+1 β1 | src |
Submodule cism
updated
18 files
+107 β0 | .lib/git-fleximod/CODE_OF_CONDUCT.md | |
+18 β8 | .lib/git-fleximod/git_fleximod/cli.py | |
+80 β317 | .lib/git-fleximod/git_fleximod/git_fleximod.py | |
+13 β3 | .lib/git-fleximod/git_fleximod/gitinterface.py | |
+2 β2 | .lib/git-fleximod/git_fleximod/gitmodules.py | |
+403 β0 | .lib/git-fleximod/git_fleximod/submodule.py | |
+6 β6 | .lib/git-fleximod/git_fleximod/utils.py | |
+58 β58 | .lib/git-fleximod/poetry.lock | |
+1 β1 | .lib/git-fleximod/pyproject.toml | |
+1 β1 | .lib/git-fleximod/tbump.toml | |
+16 β4 | .lib/git-fleximod/tests/conftest.py | |
+6 β7 | .lib/git-fleximod/tests/test_d_complex.py | |
+69 β0 | .lib/git-fleximod/tests/test_e_complex_update.py | |
+150 β0 | ChangeLog | |
+18 β18 | drivers/cpl/nuopc/glc_comp_nuopc.F90 | |
+10 β6 | source_glc/glc_InitMod.F90 | |
+18 β5 | source_glc/glc_files.F90 | |
+16 β5 | source_glc/glc_io.F90 |
Submodule cmeps
updated
13 files
+1 β1 | .github/workflows/extbuild.yml | |
+4 β2 | .github/workflows/srt.yml | |
+14 β16 | cesm/driver/esm_time_mod.F90 | |
+3 β2 | cime_config/buildnml | |
+11 β0 | cime_config/config_component.xml | |
+10 β17 | cime_config/namelist_definition_drv.xml | |
+3 β3 | mediator/esmFldsExchange_cesm_mod.F90 | |
+140 β5 | mediator/med.F90 | |
+0 β2 | mediator/med_diag_mod.F90 | |
+10 β5 | mediator/med_internalstate_mod.F90 | |
+57 β74 | mediator/med_map_mod.F90 | |
+7 β8 | mediator/med_phases_ocnalb_mod.F90 | |
+23 β29 | mediator/med_phases_restart_mod.F90 |
Submodule mosart
updated
12 files
+12 β0 | README.rst | |
+2 β1 | cime_config/config_compsets.xml | |
+37 β0 | cime_config/testdefs/ExpectedTestFails.xml | |
+29 β25 | cime_config/testdefs/testlist_mosart.xml | |
+74 β5 | docs/ChangeLog | |
+31 β28 | src/cpl/nuopc/rof_comp_nuopc.F90 | |
+4 β2 | src/cpl/nuopc/rof_import_export.F90 | |
+2 β0 | src/riverroute/mosart_control_type.F90 | |
+4 β11 | src/riverroute/mosart_driver.F90 | |
+45 β18 | src/riverroute/mosart_histfile.F90 | |
+32 β17 | src/riverroute/mosart_restfile.F90 | |
+37 β57 | src/riverroute/mosart_timemanager.F90 |
Submodule rtm
updated
3 files
+26 β8 | cime_config/testdefs/testlist_rtm.xml | |
+44 β18 | src/riverroute/RtmHistFile.F90 | |
+2 β2 | src/riverroute/RtmTimeManager.F90 |
Submodule CUPiD
updated
58 files