Skip to content

Commit b254797

Browse files
authored
Merge pull request #1938 from martinfleis/nightly-numpy
CI: include test against nightly numpy
2 parents aaa3212 + a693a99 commit b254797

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/test_code.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest]
1515
python-version: ["3.8", "3.12"]
16+
experimental: [false]
17+
include:
18+
- python-version: "3.12"
19+
os: "ubuntu-latest"
20+
experimental: true
1621
fail-fast: false
22+
defaults:
23+
run:
24+
shell: bash -l {0}
1725

1826
steps:
1927
- uses: actions/checkout@v4
@@ -27,10 +35,12 @@ jobs:
2735
--file requirements.txt
2836
--file requirements-dev.txt
2937
38+
- name: Install nightly versions of dependencies
39+
if: matrix.experimental == true
40+
run: python -m pip install --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --extra-index-url https://pypi.org/simple numpy pandas shapely -U
41+
3042
- name: Install folium from source
31-
shell: bash -l {0}
3243
run: python -m pip install -e . --no-deps --force-reinstall
3344

3445
- name: Code tests
35-
shell: bash -l {0}
3646
run: python -m pytest -vv --ignore=tests/selenium

0 commit comments

Comments
 (0)