Skip to content

update to latest mom6_bathy #14

update to latest mom6_bathy

update to latest mom6_bathy #14

Workflow file for this run

# This workflow will install CESM, create visualCaseGen conda env, and run all CI tests.
name: visualCaseGen CI
on:
push:
branches: [ "main", "ci" ]
pull_request:
branches: [ "main", "ci" ]
jobs:
ci_tests:
name: visualCaseGen CI tests
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:
- name: Install xmllint
run: sudo apt-get install -y libxml2-utils
# clone CESM
- uses: actions/checkout@v4
with:
repository: alperaltuntas/CESM
ref: cesm2_3_alpha17b_gui
#submodules: recursive
# Run manage_Externals
- name: checkout CESM
run: |
./manage_externals/checkout_externals -o
# set up conda
- uses: conda-incubator/setup-miniconda@v3
# visualCaseGen conda env
- name: Create visualCaseGen conda env
run: |
cd visualCaseGen/
conda env create --file environment.yml
conda activate visualCaseGen
# Run all tests
- name: Run tests
env:
CIME_MODEL: "cesm"
CIME_DRIVER: "nuopc"
CIME_TEST_PLATFORM: ubuntu-latest
run: |
export SRC_PATH="${GITHUB_WORKSPACE}"
mkdir -p /home/runner/cesm/scratch
cd visualCaseGen/
conda activate visualCaseGen
pytest tests