Skip to content

Commit

Permalink
update ci to test with blosc2
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Feb 6, 2024
1 parent 2eaeaf1 commit 56dce9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ jobs:
ls dist
- name: Install from source package
run:
pip install --pre dist/hdf5plugin*
run: |
pip install --pre "$(ls dist/hdf5plugin-*)[test]" --only-binary blosc2 || pip install --pre dist/hdf5plugin-*
- name: Print python info
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
name: artifact
path: dist
- name: Install sdist
run: pip install --pre dist/hdf5plugin*.tar.gz
run: pip install --pre "$(dist/hdf5plugin*.tar.gz)[test]"
- name: Run tests
run: python test/test.py

Expand Down Expand Up @@ -116,8 +116,10 @@ jobs:
include:
- python-version: '3.7'
OLDEST_DEPENDENCIES: 'h5py==2.8.0'
EXTRAS: ''
- python-version: '3.12'
OLDEST_DEPENDENCIES: 'h5py==3.10.0'
EXTRAS: '[test]'

steps:
- uses: actions/checkout@v4
Expand All @@ -132,7 +134,7 @@ jobs:
- name: Install h5py and hdf5plugin
run: |
pip install h5py
pip install --no-index --no-cache --find-links=./dist hdf5plugin --only-binary hdf5plugin
pip install --no-index --no-cache --find-links=./dist "hdf5plugin${{ matrix.EXTRAS }}" --only-binary hdf5plugin
- name: Run test with latest h5py
run: python test/test.py
- name: Run test with oldest h5py
Expand Down

0 comments on commit 56dce9f

Please sign in to comment.