Skip to content

Commit

Permalink
add numpy v1 to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Dalton committed Jun 24, 2024
1 parent 88f1caa commit df663cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
numpy-version: ['numpy<2.0', 'numpy>2.0']
python-version: ['3.9', '3.10', '3.11']

# Skip CI if 'skip ci' is contained in latest commit message
Expand All @@ -23,14 +24,15 @@ jobs:
steps:

- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }} and ${{ matrix.numpy-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "${{ matrix.numpy-version }}"
pip install -e .
- name: Test with pytest
Expand Down

0 comments on commit df663cd

Please sign in to comment.