File tree Expand file tree Collapse file tree 2 files changed +25
-16
lines changed Expand file tree Collapse file tree 2 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 32
32
- run : DJANGO_PATH=${GITHUB_WORKSPACE}/django PYTHON_VERSION=${{ matrix.python_version }} docker-compose build --pull sqlite
33
33
- run : DJANGO_PATH=${GITHUB_WORKSPACE}/django PYTHON_VERSION=${{ matrix.python_version }} docker-compose run sqlite
34
34
35
+ postgres :
36
+ name : postgres
37
+ strategy :
38
+ matrix :
39
+ python_version :
40
+ - 3.6
41
+ - 3.7
42
+ postgres_version :
43
+ - 9.5
44
+ - 9.6
45
+ - 10
46
+ - 11
47
+ runs-on : ubuntu-latest
48
+ steps :
49
+ - uses : actions/checkout@master
50
+ - run : git clone https://github.com/django/django.git --depth=1 ${GITHUB_WORKSPACE}/django
51
+ - run : docker-compose pull --include-deps postgres
52
+ - run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose build --pull postgres
53
+ env :
54
+ PYTHON_VERSION : ${{ matrix.python_version }}
55
+ POSTGRES_VERSION : ${{ matrix.postgres_version }}
56
+ - run : DJANGO_PATH=${GITHUB_WORKSPACE}/django docker-compose run postgres
57
+ env :
58
+ PYTHON_VERSION : ${{ matrix.python_version }}
59
+ POSTGRES_VERSION : ${{ matrix.postgres_version }}
Original file line number Diff line number Diff line change @@ -7,13 +7,8 @@ language: python
7
7
cache : pip
8
8
9
9
env :
10
- # Linting and docs
11
- - COMPOSE_APP=flake8
12
- - COMPOSE_APP=docs
13
-
14
10
# Quick Runs. Lowest supported database and Python version.
15
11
- COMPOSE_APP=sqlite-gis PYTHON_VERSION=3.6
16
- - COMPOSE_APP=postgres PYTHON_VERSION=3.6 POSTGRES_VERSION=9.5
17
12
- COMPOSE_APP=postgres-gis PYTHON_VERSION=3.6 POSTGRES_VERSION=9.5 POSTGIS_VERSION=2.4
18
13
- COMPOSE_APP=mysql PYTHON_VERSION=3.6 MYSQL_VERSION=5.6
19
14
- COMPOSE_APP=mysql-gis PYTHON_VERSION=3.6 MYSQL_VERSION=5.6
22
17
# Sqlite gis:
23
18
- COMPOSE_APP=sqlite-gis PYTHON_VERSION=3.7
24
19
25
- # Postgres:
26
- - COMPOSE_APP=postgres PYTHON_VERSION=3.6 POSTGRES_VERSION=9.5
27
- - COMPOSE_APP=postgres PYTHON_VERSION=3.6 POSTGRES_VERSION=9.6
28
- - COMPOSE_APP=postgres PYTHON_VERSION=3.6 POSTGRES_VERSION=10
29
- - COMPOSE_APP=postgres PYTHON_VERSION=3.6 POSTGRES_VERSION=11
30
-
31
- - COMPOSE_APP=postgres PYTHON_VERSION=3.7 POSTGRES_VERSION=9.5
32
- - COMPOSE_APP=postgres PYTHON_VERSION=3.7 POSTGRES_VERSION=9.6
33
- - COMPOSE_APP=postgres PYTHON_VERSION=3.7 POSTGRES_VERSION=10
34
- - COMPOSE_APP=postgres PYTHON_VERSION=3.7 POSTGRES_VERSION=11
35
-
36
20
# Postgres gis:
37
21
- COMPOSE_APP=postgres-gis PYTHON_VERSION=3.6 POSTGRES_VERSION=9.6 POSTGIS_VERSION=2.4
38
22
- COMPOSE_APP=postgres-gis PYTHON_VERSION=3.6 POSTGRES_VERSION=10 POSTGIS_VERSION=2.4
You can’t perform that action at this time.
0 commit comments