From d3652b6687cd7235583bcf2193b6d25fd7de2201 Mon Sep 17 00:00:00 2001 From: Soren Rasmussen Date: Tue, 14 Nov 2023 17:36:48 -0700 Subject: [PATCH] ci bugfix: Using h5py>=3.4 to avoid 'H5Pset_fapl_ros3 is undefined' error and to work with Conda's NetCDF. --- .github/workflows/ci_run_scm_rts.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_run_scm_rts.yml b/.github/workflows/ci_run_scm_rts.yml index 436dc9379..d58a10cdd 100644 --- a/.github/workflows/ci_run_scm_rts.yml +++ b/.github/workflows/ci_run_scm_rts.yml @@ -39,7 +39,7 @@ jobs: ####################################################################################### # Python setup - ####################################################################################### + ####################################################################################### - name: Set up Python uses: actions/setup-python@v3 with: @@ -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 @@ -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}}