Merge pull request #1797 from ocefpaf/pre-commits #420
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 with Latest branca | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba env | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-name: TEST | |
create-args: >- | |
python=3 | |
--file requirements.txt | |
--file requirements-dev.txt | |
- name: Install folium from source | |
shell: bash -l {0} | |
run: python -m pip install -e . --no-deps --force-reinstall | |
- name: Tests with latest branca | |
shell: bash -l {0} | |
run: | | |
micromamba remove branca --yes --force | |
python -m pip install git+https://github.com/python-visualization/branca.git | |
python -m pytest -vv --ignore=tests/selenium |