Skip to content

Commit 9a182cf

Browse files
committed
ci: test against pip conda and GitHub (develop) Flopys; install also with --no-deps to prevent reinstall of pandas < 3
1 parent 450b6c3 commit 9a182cf

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

.github/workflows/test.yaml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,27 @@ jobs:
7878
cp -r bin/$d/. "$HOME/.local/bin/"
7979
echo "$HOME/.local/bin" >> $GITHUB_PATH
8080
echo $GITHUB_PATH
81-
# on Windows, test against last Flopy release
82-
- name: Install latest PyPI flopy
81+
- name: Test with latest PyPI flopy
8382
shell: bash -l {0}
84-
if: contains(matrix.os, 'windows')
85-
run: pip install flopy --force-reinstall --no-deps
83+
if: ${{ matrix.python-version == 3.12}}
84+
run: |
85+
pip install flopy
86+
pip install git+https://github.com/aleaf/modflow-export@develop
87+
pip install git+https://github.com/usgs/sfrmaker@develop
88+
- name: Test with latest conda flopy
89+
shell: bash -l {0}
90+
if: ${{ matrix.python-version == 3.13}}
91+
run: |
92+
micromamba install flopy
93+
pip install git+https://github.com/aleaf/modflow-export@develop
94+
pip install git+https://github.com/usgs/sfrmaker@develop
95+
- name: Test with latest develop flopy and pandas 3
96+
shell: bash -l {0}
97+
if: ${{ matrix.python-version == 3.14}}
98+
run: |
99+
pip install git+https://github.com/modflowpy/flopy@develop --no-deps
100+
pip install git+https://github.com/aleaf/modflow-export@develop
101+
pip install git+https://github.com/usgs/sfrmaker@develop
86102
- name: Install Modflow-setup and ipykernel
87103
shell: bash -l {0}
88104
run: |

ci/test_environment.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- scipy
1414
- xarray
1515
- netcdf4
16-
- pandas<3
16+
- pandas
1717
- geopandas
1818
- gdal
1919
- fiona
@@ -36,6 +36,3 @@ dependencies:
3636
- pip:
3737
- gis-utils
3838
- pytest-timeout
39-
- git+https://github.com/modflowpy/flopy@develop
40-
- git+https://github.com/aleaf/modflow-export@develop
41-
- git+https://github.com/usgs/sfrmaker@develop

0 commit comments

Comments
 (0)