Merge pull request #2255 from python-visualization/dependabot/github_… #1654
This file contains hidden or 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: Mypy type hint checks | |
| # no permissions by default | |
| permissions: {} | |
| 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup Micromamba env | |
| uses: mamba-org/setup-micromamba@ce51e99f4bb8a82ab7158c4dc59ef4634c59c4f9 # v3.1.0 | |
| 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: Mypy test | |
| run: | | |
| mypy folium |