Skip to content

Commit

Permalink
update github workflows for numpy 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fbordeu committed Oct 13, 2024
1 parent ac2b13c commit f475933
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
# os: [ ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest ]
os: [ ubuntu-20.04, ubuntu-22.04, windows-latest ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
numpy: ["1","2"]
runs-on: ${{ matrix.os }}
steps:
- name: Install MSBuild
Expand All @@ -37,10 +38,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install build dependencies
- name: Install build dependencies numpy ${{ matrix.numpy }}
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools>=42 setuptools_scm numpy Cython
python -m pip install --upgrade setuptools>=42 setuptools_scm numpy=${{ matrix.numpy }} Cython
- name: Build and install eigency
run: |
python setup.py build
Expand Down

0 comments on commit f475933

Please sign in to comment.