-
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.
Merge pull request #114 from pastas/py312
Add support for Python 3.12 and clean up ini files
- Loading branch information
Showing
5 changed files
with
62 additions
and
43 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 |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11"] | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
pastas-version: | ||
[ | ||
"git+https://github.com/pastas/[email protected]", | ||
|
@@ -56,6 +56,13 @@ jobs: | |
"git+https://github.com/pastas/[email protected]", | ||
"git+https://github.com/pastas/pastas.git@dev", | ||
] | ||
exclude: | ||
- python-version: "3.12" | ||
pastas-version: "git+https://github.com/pastas/[email protected]" | ||
- python-version: "3.12" | ||
pastas-version: "git+https://github.com/pastas/[email protected]" | ||
- python-version: "3.12" | ||
pastas-version: "git+https://github.com/pastas/[email protected]" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -67,18 +74,28 @@ jobs: | |
cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
|
||
- name: Install dependencies | ||
- name: Install dependencies < PY312 | ||
if: ${{ matrix.python-version != '3.12'}} | ||
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 | ||
pip install numpy | ||
pip install ${{ matrix.pastas-version }} | ||
pip install -e .[test_py312] | ||
- name: Run pytest | ||
run: | | ||
pytest -m "not bgmap" | ||
- name: Test backgroundmap once | ||
if: ${{ matrix.python-version == '3.9' && matrix.pastas-version == 'git+https://github.com/pastas/pastas.git@dev' }} | ||
if: ${{ matrix.python-version == '3.11' && matrix.pastas-version == 'git+https://github.com/pastas/pastas.git@dev' }} | ||
run: | | ||
pytest -m "bgmap" | ||
|
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
This file was deleted.
Oops, something went wrong.
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