Skip to content

Commit 23ae949

Browse files
committed
try using contains
1 parent bc26a0d commit 23ae949

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-rasterstats.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ jobs:
2424
- name: Test all packages
2525
run: |
2626
pytest
27-
- name: Test with older packages
28-
if: ${{ matrix.python-minor-version < 11 }} # only for python <=3.11
27+
- name: Test with older packages and older pythons
28+
# wheel only available for python <=3.11
29+
if: contains(fromJson('["3.8", "3.9", "3.10", "3.11"]'), ${{ matrix.python-version }})
2930
run: |
3031
python -m pip uninstall --yes geopandas
3132
python -m pip install "fiona<1.9" "shapely<2.0"

0 commit comments

Comments
 (0)