-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
3 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
python-version: 3.11 | ||
cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
|
||
|
@@ -47,7 +47,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
pastas-version: | ||
[ | ||
"git+https://github.com/pastas/[email protected]", | ||
|
@@ -74,23 +74,12 @@ jobs: | |
cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
|
||
- name: Install dependencies < PY312 | ||
if: ${{ matrix.python-version != '3.12'}} | ||
- name: Install dependencies | ||
run: | | ||
pip install --upgrade pip | ||
pip install numpy | ||
pip install ${{ matrix.pastas-version }} | ||
pip install -e .[test] | ||
- name: Install dependencies == PY312 | ||
if: ${{ matrix.python-version == '3.12'}} | ||
run: | | ||
pip install --upgrade pip | ||
# TODO: remove numpy pin when numba or ? doesn't crash on NaN being deprecated | ||
pip install "numpy<2.0" | ||
pip install ${{ matrix.pastas-version }} | ||
pip install -e .[test_py312] | ||
- name: Run pytest | ||
run: | | ||
pytest -m "not (bgmap or pastas150)" | ||
|