File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ version: 2
2
2
jobs :
3
3
build :
4
4
docker :
5
- - image : circleci/python
5
+ - image : circleci/python:3.6.8-stretch
6
6
steps :
7
7
- checkout
8
8
- run :
9
9
name : Run tests
10
10
command : |
11
11
set -x
12
- sudo apt-get update
13
12
sudo apt-get install libgdal-dev osmctools gdal-bin libspatialindex-dev
14
13
virtualenv ./venv
15
14
source venv/bin/activate
Original file line number Diff line number Diff line change
1
+ name : Unit Test
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ jobs :
11
+ deploy :
12
+ runs-on :
13
+ ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Set up Python 3.8
17
+ uses : actions/setup-python@v1
18
+ with :
19
+ python-version : 3.8
20
+
21
+ - name : Install gdal
22
+ run : |
23
+ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
24
+ sudo apt-get update
25
+ sudo apt-get install libgdal-dev osmctools gdal-bin libspatialindex-dev
26
+
27
+ - name : Install Dependencies
28
+ run : |
29
+
30
+ python -m pip install --upgrade pip
31
+ virtualenv ./venv
32
+ export CPLUS_INCLUDE_PATH=/usr/include/gdal
33
+ export C_INCLUDE_PATH=/usr/include/gdal
34
+ pip install -r requirements.txt
35
+ - name : Run Tests
36
+ run : |
37
+ make test
You can’t perform that action at this time.
0 commit comments