Skip to content

Commit

Permalink
Merge pull request #859 from qutech/issues/856_numpy_test_matrix
Browse files Browse the repository at this point in the history
Add numpy to test matrix
  • Loading branch information
terrorfisch authored Jun 21, 2024
2 parents 3ad03a6 + ed23e61 commit 83a6421
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pythontest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
- 'tests/**'
- 'setup.*'
- 'pyproject.toml'
- '.github/workflows/*'

jobs:
test:
Expand All @@ -23,6 +24,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
numpy-version: [">=1.24,<2.0", ">=2.0"]
env:
INSTALL_EXTRAS: tests,plotting,zurich-instruments,tektronix,tabor-instruments

Expand All @@ -42,6 +44,9 @@ jobs:
python -m pip install --upgrade pip
python -m pip install coverage coveralls
- name: Install numpy ${{ matrix.numpy-version }}
run: python -m pip install "numpy${{ matrix.numpy-version }}"

- name: Install package
run: |
python -m pip install .[${{ env.INSTALL_EXTRAS }}]
Expand Down

0 comments on commit 83a6421

Please sign in to comment.