Skip to content

Commit

Permalink
try using contains
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygeo committed Aug 14, 2024
1 parent bc26a0d commit 23ae949
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-rasterstats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
- name: Test all packages
run: |
pytest
- name: Test with older packages
if: ${{ matrix.python-minor-version < 11 }} # only for python <=3.11
- name: Test with older packages and older pythons
# wheel only available for python <=3.11
if: contains(fromJson('["3.8", "3.9", "3.10", "3.11"]'), ${{ matrix.python-version }})
run: |
python -m pip uninstall --yes geopandas
python -m pip install "fiona<1.9" "shapely<2.0"
Expand Down

0 comments on commit 23ae949

Please sign in to comment.