Skip to content

Commit a693a99

Browse files
committed
use experimental flag
1 parent b8bead6 commit a693a99

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/test_code.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ 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
1722
defaults:
1823
run:
@@ -30,16 +35,12 @@ jobs:
3035
--file requirements.txt
3136
--file requirements-dev.txt
3237
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+
3342
- name: Install folium from source
3443
run: python -m pip install -e . --no-deps --force-reinstall
3544

3645
- name: Code tests
3746
run: python -m pytest -vv --ignore=tests/selenium
38-
39-
- name: Install nightly versions of dependencies
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-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
42-
43-
- name: Code tests with nightly dependencies
44-
run: python -m pytest -vv --ignore=tests/selenium
45-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'

0 commit comments

Comments
 (0)