Skip to content

Commit d6830f9

Browse files
committed
CI: include test against ngihtly numpy
1 parent 570f293 commit d6830f9

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/test_code.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
os: [ubuntu-latest, windows-latest]
1515
python-version: ["3.8", "3.12"]
1616
fail-fast: false
17+
defaults:
18+
run:
19+
shell: bash -l {0}
1720

1821
steps:
1922
- uses: actions/checkout@v4
@@ -28,9 +31,15 @@ jobs:
2831
--file requirements-dev.txt
2932
3033
- name: Install folium from source
31-
shell: bash -l {0}
3234
run: python -m pip install -e . --no-deps --force-reinstall
3335

3436
- name: Code tests
35-
shell: bash -l {0}
3637
run: python -m pytest -vv --ignore=tests/selenium
38+
39+
- name: Install nightly version of numpy
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 -U
41+
if: runner.os == 'ubuntu-latest' && matrix.python-version == '3.12'
42+
43+
- name: Code tests with nightly numpy
44+
run: python -m pytest -vv --ignore=tests/selenium
45+
if: runner.os == 'ubuntu-latest' && matrix.python-version == '3.12'

0 commit comments

Comments
 (0)