-
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 master into whannah/mmf/pam-updates
- Loading branch information
Showing
967 changed files
with
50,916 additions
and
29,803 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 |
---|---|---|
|
@@ -11,3 +11,5 @@ updates: | |
reviewers: | ||
- "mahf708" | ||
- "bartgol" | ||
labels: | ||
- "AT: Integrate Without Testing" |
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
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,59 @@ | ||
name: gh | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
paths-ignore: | ||
- 'mkdocs.yaml' | ||
- 'docs/**' | ||
- 'components/*/docs/**' | ||
- 'components/*/mkdocs.yml' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
ci-w: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
- SMS_D_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu | ||
- SMS_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu | ||
- REP_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu | ||
- ERS_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu | ||
- ERS_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu.allactive-wcprod_1850 | ||
- ERP_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu | ||
- PET_P8.ne4pg2_oQU480.WCYCL2010NS.singularity_gnu | ||
- PEM_P8.ne4pg2_oQU480.WCYCL2010NS.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 |
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,30 @@ | ||
name: markdown | ||
|
||
# if .md files are touched in a PR, lint them! | ||
|
||
on: | ||
pull_request: | ||
branches: ["master"] | ||
paths: | ||
- '**/*.md' | ||
# for now let's not lint files in eamxx | ||
- '!components/eamxx/**/*.md' | ||
|
||
jobs: | ||
linter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: tj-actions/changed-files@v44 | ||
id: changed-files | ||
with: | ||
files: '**/*.md' | ||
separator: "," | ||
- uses: DavidAnson/markdownlint-cli2-action@v16 | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
with: | ||
config: 'docs/.markdownlint.json' | ||
globs: ${{ steps.changed-files.outputs.all_changed_files }} | ||
separator: "," |
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
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 |
---|---|---|
|
@@ -53,14 +53,14 @@ jobs: | |
run: | | ||
echo "= The job was automatically triggered by a ${{github.event_name}} event." | ||
- name: Set up Python 3.10 | ||
- name: Set up Python 3.11 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
python-version: "3.11" | ||
|
||
- name: Install Python deps | ||
run: | | ||
pip install mkdocs pymdown-extensions mkdocs-material mdutils | ||
pip install mkdocs pymdown-extensions mkdocs-material mdutils mkdocs-bibtex | ||
- name: Generate EAMxx params docs | ||
working-directory: components/eamxx/scripts | ||
|
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,62 @@ | ||
name: inputdata | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '00 00 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
scream-defaults: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
event_name: ${{ github.event_name }} | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
submodules: false | ||
- name: Set up Python 3.11 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
- name: Run unit tests | ||
working-directory: components/eamxx/cime_config/ | ||
run: | | ||
python -m unittest tests/eamxx_default_files.py -v | ||
notify-scream-defaults: | ||
needs: scream-defaults | ||
if: ${{ failure() && needs.scream-defaults.outputs.event_name != 'pull_request' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create issue | ||
run: | | ||
previous_issue_number=$(gh issue list \ | ||
--label "$LABELS" \ | ||
--json number \ | ||
--jq '.[0].number') | ||
if [[ -n $previous_issue_number ]]; then | ||
gh issue comment "$previous_issue_number" \ | ||
--body "$BODY" | ||
else | ||
gh issue create \ | ||
--title "$TITLE" \ | ||
--assignee "$ASSIGNEES" \ | ||
--label "$LABELS" \ | ||
--body "$BODY" | ||
fi | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
TITLE: Inputdata server file missing | ||
ASSIGNEES: mahf708,bartgol | ||
LABELS: bug,input file,notify-file-gh-action | ||
BODY: | | ||
Workflow failed! There's likely a missing file specified in the configs! For more information, please see: | ||
- Workflow URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} (number ${{ github.run_number }}, attempt ${{ github.run_attempt }}) | ||
- Workflow SHA: ${{ github.sha }} |
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
Submodule cime
updated
52 files
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
Oops, something went wrong.