Skip to content

harden eamxx/prod testmod #503

harden eamxx/prod testmod

harden eamxx/prod testmod #503

name: gh
on:
pull_request:
branches: [ master ]
paths:
# first, yes to these
- '.github/workflows/e3sm-gh-ci-cime-tests.yml'
- 'cime_config/**'
- 'components/eam/**'
- 'components/eamxx/**'
- 'components/elm/**'
- 'driver-moab/**'
- 'driver-mct/**'
# second, no to these
- '!components/eam/docs/**'
- '!components/eam/mkdocs.yml'
- '!components/eamxx/docs/**'
- '!components/eamxx/mkdocs.yml'
- '!components/elm/docs/**'
- '!components/elm/mkdocs.yml'
workflow_dispatch:
jobs:
ci:
if: ${{ github.event.repository.name == 'e3sm' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test:
- SMS_D_Ln5_P4.ne4pg2_oQU480.F2010.ghci-oci_gnu
- ERS_Ld5_P4.ne4pg2_oQU480.F2010.ghci-oci_gnu.eam-wcprod_F2010
- SMS_D_Ln5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu
- ERS_Ld5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu.eamxx-prod
container:
image: ghcr.io/e3sm-project/containers-ghci:ghci-0.1.0
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
submodules: recursive
-
name: CIME
working-directory: cime/scripts
run: |
./create_test ${{ matrix.test }} --wait --debug
-
name: Artifacts
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: ${{ matrix.test }}
path: |
/projects/e3sm/scratch/${{ matrix.test }}*/TestStatus.log
/projects/e3sm/scratch/${{ matrix.test }}*/bld/*.bldlog.*
/projects/e3sm/scratch/${{ matrix.test }}*/run/*.log.*
/projects/e3sm/scratch/${{ matrix.test }}*/run/*.cprnc.out