Skip to content

Commit

Permalink
[TASK] versions python 3.9..3.12 and numpy 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSchnizer committed Jul 11, 2024
1 parent 74930ef commit fe6832f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12" ]
numpy-version: [ "numpy<2.0", "numpy>=2.0" ]


steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.numpy-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
numpy-version: ${{ matrix.numpy-version }}
cache: 'pip'
cache-dependency-path: |
**/pyproject.toml
Expand All @@ -30,7 +33,7 @@ jobs:
python -m pip install --upgrade pip wheel
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .
pip install '${{ matrix.numpy-version }}' .
- name: Install package
run: |
python -m pip install flake8 pytest
Expand Down

0 comments on commit fe6832f

Please sign in to comment.