h5py #547
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
name: h5py | |
# Triggers the workflow on a schedule or on demand | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "6 0 * * *" | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Spack | |
uses: actions/[email protected] | |
with: | |
repository: spack/spack | |
path: ./spack | |
- name: Run a multi-line script | |
run: | | |
sed -i 's/[email protected]:1.14/[email protected]:/g' \ | |
./spack/var/spack/repos/builtin/packages/py-h5py/package.py | |
. ./spack/share/spack/setup-env.sh | |
./spack/bin/spack spec py-h5py@master+mpi ^[email protected] | |
./spack/bin/spack install py-h5py@master+mpi ^[email protected] | |
./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 | |
spack load py-pytest-mpi | |
python -c "import h5py; h5py.run_tests(); print(h5py.version.info);" |