Merge pull request #2027 from python-visualization/dependabot/github_… #990
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.9", "3.13"] | |
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 folium from source | |
run: python -m pip install -e . --no-deps --force-reinstall | |
- name: Code tests | |
run: python -m pytest -vv --ignore=tests/selenium |