Skip to content

Commit

Permalink
ci bugfix: Using h5py>=3.4 to avoid 'H5Pset_fapl_ros3 is undefined' e…
Browse files Browse the repository at this point in the history
…rror and to work with Conda's NetCDF.
  • Loading branch information
scrasmussen committed Nov 15, 2023
1 parent 73cdb1e commit 22eb4c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci_build_scm_ubuntu_22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

#######################################################################################
# Python setup
#######################################################################################
#######################################################################################
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -47,10 +47,9 @@ jobs:
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install python libraries
- name: Install NetCDF Python libraries
run: |
conda install --yes -c conda-forge f90nml
conda install --yes -c conda-forge netCDF4
conda install --yes -c conda-forge h5py>=3.4 netCDF4 f90nml
- name: Update system packages
run: sudo apt-get update
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_run_scm_DEPHY.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

#######################################################################################
# Python setup
#######################################################################################
#######################################################################################
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -44,10 +44,10 @@ jobs:
- name: Add conda to system path
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install python libraries
- name: Install NetCDF Python libraries
run: |
conda install --yes -c conda-forge f90nml
conda install --yes -c conda-forge netCDF4
conda install --yes -c conda-forge h5py>=3.4 netCDF4 f90nml
- name: Update system packages
run: sudo apt-get update

Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/ci_run_scm_rts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

#######################################################################################
# Python setup
#######################################################################################
#######################################################################################
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -49,10 +49,9 @@ jobs:
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install python libraries
- name: Install NetCDF Python libraries
run: |
conda install --yes -c conda-forge f90nml
conda install --yes -c conda-forge netCDF4
conda install --yes -c conda-forge h5py>=3.4 netCDF4 f90nml
- name: Update system packages
run: sudo apt-get update
Expand Down Expand Up @@ -198,6 +197,6 @@ jobs:
- name: Upload SCM RTs as GitHub Artifact
uses: actions/upload-artifact@v2
with:
with:
name: rt-baselines-${{matrix.build-type}}
path: /home/runner/work/ccpp-scm/ccpp-scm/test/artifact-${{matrix.build-type}}

0 comments on commit 22eb4c7

Please sign in to comment.