File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -109,3 +109,26 @@ jobs:
109109 vcfpartition --help
110110 python -m bio2zarr vcfpartition --help
111111
112+ test-numpy-version :
113+ name : Test numpy versions
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 dependencies
124+ run : |
125+ python -m pip install --upgrade pip
126+ python -m pip install '.[dev]'
127+ - name : Install numpy${{ matrix.numpy }}
128+ run : |
129+ python -m pip install 'numpy${{ matrix.numpy }}'
130+ - name : Run tests
131+ run : |
132+ # We just run the CLI tests here because it doesn't require other upstream
133+ # packages like sgkit (which are tangled up with the numpy 2 dependency)
134+ python -m pytest tests/test_cli.py
You can’t perform that action at this time.
0 commit comments