Skip to content

Commit 83a6421

Browse files
author
Simon Humpohl
authored
Merge pull request #859 from qutech/issues/856_numpy_test_matrix
Add numpy to test matrix
2 parents 3ad03a6 + ed23e61 commit 83a6421

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pythontest.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- 'tests/**'
1616
- 'setup.*'
1717
- 'pyproject.toml'
18+
- '.github/workflows/*'
1819

1920
jobs:
2021
test:
@@ -23,6 +24,7 @@ jobs:
2324
fail-fast: false
2425
matrix:
2526
python-version: ["3.10", "3.11", "3.12"]
27+
numpy-version: [">=1.24,<2.0", ">=2.0"]
2628
env:
2729
INSTALL_EXTRAS: tests,plotting,zurich-instruments,tektronix,tabor-instruments
2830

@@ -42,6 +44,9 @@ jobs:
4244
python -m pip install --upgrade pip
4345
python -m pip install coverage coveralls
4446
47+
- name: Install numpy ${{ matrix.numpy-version }}
48+
run: python -m pip install "numpy${{ matrix.numpy-version }}"
49+
4550
- name: Install package
4651
run: |
4752
python -m pip install .[${{ env.INSTALL_EXTRAS }}]

0 commit comments

Comments
 (0)