Skip to content

Commit

Permalink
ci: update workflow and use bitshuffle binary wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
jrs65 committed May 30, 2022
1 parent 5ffd569 commit 5d67429
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopenmpi-dev openmpi-bin libhdf5-serial-dev
- name: Install pip dependencies
run: |
pip install pylint==2.7.0 pylint-ignore flake8 pytest black mpi4py pyinstrument pytest-lazy-fixture
pip install pylint==2.7.0 pylint-ignore flake8 pytest black mpi4py pyinstrument psutil pytest-lazy-fixture
pip install -r requirements.txt
python setup.py develop
pip install .[compression]
Expand All @@ -48,19 +49,20 @@ jobs:

- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopenmpi-dev openmpi-bin libhdf5-serial-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install pip dependencies
run: |
pip install --no-binary=h5py h5py
pip install h5py
pip install -r requirements.txt
pip install zarr==2.8.1
pip install mpi4py numcodecs==0.7.3 bitshuffle@git+https://github.com/kiyo-masui/bitshuffle.git psutil
pip install mpi4py numcodecs==0.7.3 bitshuffle
pip install pytest pytest-lazy-fixture
python setup.py develop
Expand All @@ -82,12 +84,13 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y libhdf5-serial-dev
- name: Install pip dependencies
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
extras_require={
"mpi": ["mpi4py>=1.3"],
"compression": [
"bitshuffle @ git+https://github.com/kiyo-masui/bitshuffle.git",
"bitshuffle",
"numcodecs==0.7.3",
"zarr==2.8.1",
],
Expand Down

0 comments on commit 5d67429

Please sign in to comment.