-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mahf708/idp/e3sm-gh-ci-cime-tests' into next (PR #6231)
Adds the first batch of 7 tests to run on public CI resources during PR submission. Tests are SMS, SMS_D, ERS, ERP, REP, PET, PEM using F2010 and ne4pg2_oQU480. Tests are run with _P4 because CI resources are limited to 4 virtual CPUs for now. [BFB]
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: gh | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
ci: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
- SMS_D_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
- SMS_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
- REP_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
- ERS_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
- ERP_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
- PET_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
- PEM_P4.ne4pg2_oQU480.F2010.singularity_gnu | ||
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 | ||
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.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 |