Fix docs workflow failure due to Fiona package #951
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
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: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba env | |
uses: mamba-org/setup-micromamba@v2 | |
with: | |
environment-name: TEST | |
create-args: >- | |
python=${{ matrix.python-version }} | |
--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 |