File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -139,3 +139,30 @@ jobs:
139
139
cd tests
140
140
python -m vcztools --help
141
141
142
+ test-numpy-version :
143
+ name : Test numpy versions
144
+ runs-on : ubuntu-latest
145
+ strategy :
146
+ matrix :
147
+ numpy : ["==1.26", ">=2"]
148
+ steps :
149
+ - uses : actions/checkout@v4
150
+ - name : Set up Miniconda
151
+ uses : conda-incubator/setup-miniconda@v3
152
+ with :
153
+ auto-update-conda : true
154
+ python-version : ' 3.11'
155
+ channels : conda-forge,bioconda
156
+ - name : Install dependencies
157
+ run : |
158
+ conda install bcftools
159
+ python -m pip install --upgrade pip
160
+ python -m pip install '.[dev]'
161
+ # Build the extension module in-place so pytest can find it
162
+ python3 setup.py build_ext --inplace
163
+ - name : Install numpy${{ matrix.numpy }}
164
+ run : |
165
+ python -m pip install 'numpy${{ matrix.numpy }}'
166
+ - name : Run tests
167
+ run : |
168
+ pytest
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ authors = [
11
11
{
name =
" sgkit Developers" ,
email =
" [email protected] " },
12
12
]
13
13
dependencies = [
14
- " numpy>=1.23.5,<2 " ,
14
+ " numpy>=1.23.5" ,
15
15
" zarr>=2.17,<3" ,
16
16
" click" ,
17
17
" pyranges" ,
You can’t perform that action at this time.
0 commit comments