Skip to content

Commit a559a9f

Browse files
CI: run Geopandas tests (#2116)
* Create test_geopandas.yml * Update test_geopandas.yml * break the geopandas tests * reorder installs * only test test_explore.py * try debug paths * Update test_geopandas.yml * Update test_geopandas.yml * Update test_geopandas.yml * Update test_geopandas.yml * Update test_geopandas.yml * Revert "break the geopandas tests" This reverts commit c24b132. * Update test_geopandas.yml * Update test_geopandas.yml * break tests * restore * Update .github/workflows/test_geopandas.yml Co-authored-by: Martin Fleischmann <[email protected]> --------- Co-authored-by: Martin Fleischmann <[email protected]>
1 parent 661fc9f commit a559a9f

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/test_geopandas.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Geopandas tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
run:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Folium
15+
uses: actions/checkout@v4
16+
with:
17+
# needed to get the correct version number for Folium
18+
fetch-depth: 0
19+
path: folium
20+
21+
- name: Setup Micromamba env
22+
uses: mamba-org/setup-micromamba@v2
23+
with:
24+
environment-name: TEST
25+
create-args: >-
26+
python=3
27+
--file folium/requirements.txt
28+
29+
- name: Checkout Geopandas
30+
uses: actions/checkout@v4
31+
with:
32+
repository: geopandas/geopandas
33+
path: geopandas
34+
35+
- name: Install Geopandas dev dependencies
36+
run: |
37+
pip install -r geopandas/requirements-dev.txt
38+
39+
- name: Install folium from source
40+
run: |
41+
cd folium
42+
python -m pip install -e . --no-deps --force-reinstall
43+
44+
- name: Run Geopandas tests
45+
run: |
46+
cd geopandas
47+
pytest -r a geopandas/tests/test_explore.py

0 commit comments

Comments
 (0)