Skip to content

Code Tests with Latest branca #1294

Code Tests with Latest branca

Code Tests with Latest branca #1294

name: Code Tests with Latest branca
on:
schedule:
- cron: "0 13 * * *"
pull_request:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
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=3
--file requirements.txt
--file requirements-dev.txt
- name: Install folium from source
run: python -m pip install -e . --no-deps --force-reinstall
- name: Tests with latest branca
run: |
micromamba remove branca --yes --force
python -m pip install git+https://github.com/python-visualization/branca.git
coverage run -p -m pytest -vv --ignore=tests/selenium --ignore=tests/playwright --ignore=tests/snapshots
- name: Upload coverage
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-test-branca
path: |
.coverage*
include-hidden-files: true