Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 12 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# TODO: Revert tests back to NOAA-GFDL version (not jjuyeonkim) after
# NDSL/issues#64's PRs close and are all merged. These PRs include:
# https://github.com/NOAA-GFDL/NDSL/pull/218
# https://github.com/NOAA-GFDL/PyFV3/pull/83
# https://github.com/NOAA-GFDL/PySHiELD/pull/58
# https://github.com/NOAA-GFDL/pace/pull/145
#
name: "Lint"

# Run these these whenever ...
Expand All @@ -7,13 +14,18 @@ on:
push:
branches:
- main # ... when merging into the main branch
- 20250908_namelist_2

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
repository: jjuyeonkim/pyfv3
submodules: 'recursive'
ref: 20250908_namelist_2

- name: Setup Python 3.11
uses: actions/setup-python@v5
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/pace_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# TODO: Revert tests back to NOAA-GFDL version (not jjuyeonkim) after
# NDSL/issues#64's PRs close and are all merged. These PRs include:
# https://github.com/NOAA-GFDL/NDSL/pull/218
# https://github.com/NOAA-GFDL/PyFV3/pull/83
# https://github.com/NOAA-GFDL/PySHiELD/pull/58
# https://github.com/NOAA-GFDL/pace/pull/145
#
name: "pace main tests"

# Run these these whenever ...
Expand All @@ -7,10 +14,11 @@ on:
push:
branches:
- main # ... when merging into the main branch
- 20250908_namelist_2

jobs:
pace_main_tests:
uses: NOAA-GFDL/pace/.github/workflows/main_unit_tests.yaml@develop
uses: jjuyeonkim/pace/.github/workflows/main_unit_tests.yaml@20250908_namelist_2
with:
component_trigger: true
component_name: pyFV3
10 changes: 9 additions & 1 deletion .github/workflows/pyshield_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# TODO: Revert tests back to NOAA-GFDL version (not jjuyeonkim) after
# NDSL/issues#64's PRs close and are all merged. These PRs include:
# https://github.com/NOAA-GFDL/NDSL/pull/218
# https://github.com/NOAA-GFDL/PyFV3/pull/83
# https://github.com/NOAA-GFDL/PySHiELD/pull/58
# https://github.com/NOAA-GFDL/pace/pull/145
#
name: "pySHiELD translate tests"

# Run these these whenever ...
Expand All @@ -7,10 +14,11 @@ on:
push:
branches:
- main # ... when merging into the main branch
- 20250908_namelist_2

jobs:
pyshield_translate_tests:
uses: NOAA-GFDL/PySHiELD/.github/workflows/translate.yaml@develop
uses: jjuyeonkim/PySHiELD/.github/workflows/translate.yaml@20250908_namelist_2
with:
component_trigger: true
component_name: pyFV3
26 changes: 17 additions & 9 deletions .github/workflows/translate.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# TODO: Revert tests back to NOAA-GFDL version (not jjuyeonkim) after
# NDSL/issues#64's PRs close and are all merged. These PRs include:
# https://github.com/NOAA-GFDL/NDSL/pull/218
# https://github.com/NOAA-GFDL/PyFV3/pull/83
# https://github.com/NOAA-GFDL/PySHiELD/pull/58
# https://github.com/NOAA-GFDL/pace/pull/145
#
name: "pyFV3 translate tests (subset)"

# Run these these whenever ...
Expand All @@ -17,6 +24,7 @@ on:
push:
branches:
- main # ... when merging into the main branch
- 20250908_namelist_2

# cancel running jobs if theres a newer push
concurrency:
Expand All @@ -39,33 +47,33 @@ jobs:
- name: Install mpi (MPICH flavor)
run: pip3 install mpich

- name: External trigger Checkout pyFV3
if: ${{inputs.component_trigger}}
- name: Checkout pyFV3
uses: actions/checkout@v5
with:
submodules: 'recursive'
repository: noaa-gfdl/pyFV3
repository: jjuyeonkim/pyfv3
path: pyFV3
ref: 20250908_namelist_2

- name: Checkout hash that triggered CI
- name: Checkout NDSL
uses: actions/checkout@v5
with:
submodules: 'recursive'
path: pyFV3/${{inputs.component_name}}
repository: jjuyeonkim/ndsl
path: pyFV3/NDSL
ref: 20250908_namelist_2

- name: External trigger install NDSL packages
if: ${{inputs.component_trigger}}
- name: Install NDSL packages
run: |
cd ${GITHUB_WORKSPACE}/pyFV3
cd NDSL && pip3 install .[test] && cd ../
pip3 install .[test]

- name: Install pyFV3 packages
if: ${{ ! inputs.component_trigger }}
run: |
cd ${GITHUB_WORKSPACE}/pyFV3
pip install .[ndsl,test]


# Only restore (don't save) caches on PRs. New caches created from PRs won't be
# accessible from other PRs, see workflows/create_cache.yaml.
- name: Restore test_data (if cached)
Expand Down
Loading
Loading