Skip to content

Commit

Permalink
use experimental flag
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed May 6, 2024
1 parent b8bead6 commit a693a99
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.12"]
experimental: [false]
include:
- python-version: "3.12"
os: "ubuntu-latest"
experimental: true
fail-fast: false
defaults:
run:
Expand All @@ -30,16 +35,12 @@ jobs:
--file requirements.txt
--file requirements-dev.txt
- name: Install nightly versions of dependencies
if: matrix.experimental == true
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

- name: Install folium from source
run: python -m pip install -e . --no-deps --force-reinstall

- name: Code tests
run: python -m pytest -vv --ignore=tests/selenium

- name: Install nightly versions of dependencies
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
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'

- name: Code tests with nightly dependencies
run: python -m pytest -vv --ignore=tests/selenium
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'

0 comments on commit a693a99

Please sign in to comment.