Skip to content

Add event handlers to the Draw plugin #922

Add event handlers to the Draw plugin

Add event handlers to the Draw plugin #922

Workflow file for this run

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@v1
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