Skip to content

Commit 1eefcb4

Browse files
committed
Create test_geopandas.yml
1 parent d1b1460 commit 1eefcb4

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Run 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+
17+
- name: Setup Micromamba env
18+
uses: mamba-org/setup-micromamba@v2
19+
with:
20+
environment-name: TEST
21+
create-args: >-
22+
python=3
23+
--file requirements.txt
24+
25+
- name: Install folium from source
26+
shell: bash -l {0}
27+
run: |
28+
python -m pip install -e . --no-deps --force-reinstall
29+
30+
- name: Checkout Geopandas
31+
uses: actions/checkout@v4
32+
with:
33+
repository: geopandas/geopandas
34+
ref: main
35+
path: geopandas # Checkout into a subdirectory
36+
37+
- name: Install Geopandas dev dependencies
38+
run: |
39+
cd geopandas
40+
pip install -r requirements-dev.txt
41+
42+
- name: Run Geopandas tests
43+
run: |
44+
cd geopandas
45+
pytest

0 commit comments

Comments
 (0)