From 1384e134424fef4cd1d574ae1bc0d6a4851f46f6 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Wed, 16 Oct 2024 08:37:35 -0500 Subject: [PATCH 1/3] Fix h5py GitHub Action --- .github/workflows/h5py.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/h5py.yml b/.github/workflows/h5py.yml index a0c39d67f59..d0f1a9129ea 100644 --- a/.github/workflows/h5py.yml +++ b/.github/workflows/h5py.yml @@ -3,8 +3,8 @@ name: h5py # Triggers the workflow on a schedule or on demand on: workflow_dispatch: - schedule: - - cron: "6 0 * * *" +# schedule: +# - cron: "6 0 * * *" permissions: contents: read @@ -31,5 +31,5 @@ jobs: spack load py-h5py spack load py-pytest spack load py-ipython - pip install pytest-mpi + spack load py-pytest-mpi python -c "import h5py; h5py.run_tests(); print(h5py.version.info);" From 3cf99804ad7da4dd6b945dd985097d9ad77a8138 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Wed, 16 Oct 2024 08:41:06 -0500 Subject: [PATCH 2/3] use cron --- .github/workflows/h5py.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/h5py.yml b/.github/workflows/h5py.yml index d0f1a9129ea..1935781e3fe 100644 --- a/.github/workflows/h5py.yml +++ b/.github/workflows/h5py.yml @@ -3,8 +3,8 @@ name: h5py # Triggers the workflow on a schedule or on demand on: workflow_dispatch: -# schedule: -# - cron: "6 0 * * *" + schedule: + - cron: "6 0 * * *" permissions: contents: read From 66ff2ecfef96ef2a87d6f648cc0a5e89f7fa776a Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Wed, 16 Oct 2024 08:44:12 -0500 Subject: [PATCH 3/3] install py-pytest-mpi --- .github/workflows/h5py.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/h5py.yml b/.github/workflows/h5py.yml index 1935781e3fe..c6c6aa7505b 100644 --- a/.github/workflows/h5py.yml +++ b/.github/workflows/h5py.yml @@ -28,6 +28,7 @@ jobs: ./spack/bin/spack install py-h5py@master+mpi ^hdf5@develop-1.17 ./spack/bin/spack install py-pytest ./spack/bin/spack install py-ipython + ./spack/bin/spack install py-pytest-mpi spack load py-h5py spack load py-pytest spack load py-ipython