Skip to content

Commit a719d04

Browse files
Run tests on numpy 1 and numpy 2
Closes #256
1 parent 0b872af commit a719d04

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,22 @@ jobs:
109109
vcfpartition --help
110110
python -m bio2zarr vcfpartition --help
111111
112+
test-numpy-version:
113+
name: Test with specific numpy version
114+
runs-on: ubuntu-latest
115+
strategy:
116+
matrix:
117+
numpy: ["==1.26", ">=2"]
118+
steps:
119+
- uses: actions/checkout@v4
120+
- uses: actions/setup-python@v5
121+
with:
122+
python-version: '3.11'
123+
- name: Install numpy ${{ matrix.python-version }}
124+
run: |
125+
python -m pip install --upgrade pip
126+
python -m pip install '.[dev]'
127+
python -m pip install ${{ matrix.python-version }}
128+
- name: Run tests
129+
run: |
130+
pytest

0 commit comments

Comments
 (0)