-
Notifications
You must be signed in to change notification settings - Fork 45
34 lines (31 loc) · 867 Bytes
/
ci.yaml
File metadata and controls
34 lines (31 loc) · 867 Bytes
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
name: Unit test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install gdal
run: |
sudo apt-get update
sudo apt-get install -y osmium-tool
sudo apt-get install python3-dev build-essential cmake libboost-dev \
libexpat1-dev zlib1g-dev libbz2-dev libgdal-dev gdal-bin libspatialindex-dev osmctools
- name: Install Dependencies
run: |
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
pip install -r requirements-dev.txt
- name: Run Tests
run: |
make test