-
Notifications
You must be signed in to change notification settings - Fork 2.3k
62 lines (53 loc) · 1.33 KB
/
test_geopandas.yml
File metadata and controls
62 lines (53 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Geopandas tests
on:
schedule:
- cron: "0 13 * * *"
pull_request:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout Folium
uses: actions/checkout@v6
with:
# needed to get the correct version number for Folium
fetch-depth: 0
path: folium
- name: Setup Micromamba env
uses: mamba-org/setup-micromamba@v2
with:
environment-name: TEST
create-args: >-
python=3.13
--file folium/requirements.txt
- name: Checkout Geopandas
uses: actions/checkout@v6
with:
repository: geopandas/geopandas
path: geopandas
- name: Install Geopandas dev dependencies
run: |
pip install -r geopandas/requirements-dev.txt
- name: Install folium from source
run: |
cd folium
python -m pip install -e . --no-deps --force-reinstall
- name: Run Geopandas tests
run: |
cd geopandas
pip install -e .
coverage run -p -m pytest -r a geopandas/tests/test_explore.py
- name: Upload coverage
if: always()
uses: actions/upload-artifact@v7
with:
name: coverage-test-geopandas
path: |
.coverage*
include-hidden-files: true