Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add first patch of cime tests to public CI #6231

Merged
merged 5 commits into from
Feb 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/e3sm-gh-ci-cime-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: test

on:
pull_request:
branches: [ master ]

workflow_dispatch:

jobs:

run:
strategy:
fail-fast: false
matrix:
res: ["ne4pg2_oQU480"]
com: ["F2010"]
typ:
- "SMS" # 0h20m
- "SMS_D" # 0h30m
- "REP" # 0h30m
- "ERS" # 1h00m
- "ERP" # 1h15m
- "ERR" # 1h00m
- "PET" # 0h35m
- "PEM" # 0h45m
- "SEQ" # 3h10m
- "ERI" # Exception from case_test: [Errno 2] No such file or directory:
- "ERT" # Exception from case_test: ERROR: No variable AVG_HIST_N found in case
- "PEA" # ERROR: BUILD FAIL: build e3sm failed
mahf708 marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
container:
image: ghcr.io/mahf708/e3sm-imgs:v0.0.6

steps:
-
name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
submodules: recursive
-
name: CIME
working-directory: cime/scripts
# the following combos currently fail, so let's mark them nbd: true --> ci remains green despite fail
# typ: "ERI" # Exception from case_test: [Errno 2] No such file or directory: (no file in archive)
# typ: "ERT" # Exception from case_test: ERROR: No variable AVG_HIST_N found in case (before run)
# typ: "PEA" # ERROR: BUILD FAIL: build e3sm failed (MPI-related, self)
continue-on-error: ${{ matrix.typ == 'ERI' || matrix.typ == 'ERT' || matrix.typ == 'PEA' }}
# Note we force _P3 in the create_test call for now
run: |
mkdir -p $HOME/projects/e3sm/cesm-inputdata/atm/cam/physprops/
wget https://web.lcrc.anl.gov/public/e3sm/inputdata/atm/cam/physprops/p3_lookup_table_1.dat-v4.1.2
mv p3_lookup_table_1.dat-v4.1.2 $HOME/projects/e3sm/cesm-inputdata/atm/cam/physprops/
export USER=test
./create_test ${{ matrix.typ }}_P3.${{ matrix.res }}.${{ matrix.com }} --machine singularity --wait --debug
-
name: Artifacts
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: ${{ matrix.typ }}_P3.${{ matrix.res }}.${{ matrix.com }}
# Wildcard pattern to upload logs (can add more if desired)
path: |
~/projects/e3sm/scratch/**/*log.*
Loading