-
Notifications
You must be signed in to change notification settings - Fork 371
64 lines (59 loc) · 2.28 KB
/
e3sm-gh-ci-cime-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
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.*