Skip to content

Commit

Permalink
turn into a matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 authored Sep 23, 2023
1 parent c988ef2 commit 8d8f4a8
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 61 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/SMS_Ln2.ne4_oQU480.F2010.gha-oci.yaml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/test-matrix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

workflow_dispatch:

jobs:

run:
strategy:
matrix:
typ: ["SMS", "SMS_D"]
res: ["ne4_oQU480", "ne4pg2_oQU480"]
com: ["F2010"]
runs-on: ubuntu-latest
container:
image: ghcr.io/mahf708/e3sm-imgs@sha256:2657196ea9eec7dbd04f7da61f4e7d5e566d4b501dff5881f0cb5125ba031158

steps:
- name: Addenda
run: |
apt-get update
apt-get -y install python3-distutils
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
submodules: recursive
- name: CIME
working-directory: cime/scripts
run: |
mkdir -p $HOME/projects/e3sm/cesm-inputdata
wget https://web.lcrc.anl.gov/public/e3sm/inputdata/atm/cam/physprops/p3_lookup_table_1.dat-v4.1.2
mkdir -p $HOME/projects/e3sm/cesm-inputdata/atm/cam/physprops/
mv p3_lookup_table_1.dat-v4.1.2 $HOME/projects/e3sm/cesm-inputdata/atm/cam/physprops/
export USER=test
./create_test ${{ matrix.typ }}.${{ matrix.res }}.${{ matrix.com }} --machine ghas --wait --debug

0 comments on commit 8d8f4a8

Please sign in to comment.