CI: run Geopandas tests #4
Workflow file for this run
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: Geopandas tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Folium | |
| 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 | |
| - name: Checkout Geopandas | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: geopandas/geopandas | |
| ref: main | |
| path: geopandas # Checkout into a subdirectory | |
| - name: Install Geopandas dev dependencies | |
| run: | | |
| pip install -r geopandas/requirements-dev.txt | |
| - name: Install folium from source | |
| shell: bash -l {0} | |
| run: | | |
| python -m pip install -e . --no-deps --force-reinstall | |
| - name: Run Geopandas tests | |
| run: | | |
| cd geopandas | |
| pytest geopandas/tests/test_explore.py |