|
@@ -10,19 +10,28 @@ on:
|
|
- devel
|
|
- devel
|
|
jobs:
|
|
jobs:
|
|
test:
|
|
test:
|
|
- runs-on: ubuntu-18.04
|
|
|
|
|
|
+ name: OTP-${{matrix.otp}}, PG-${{matrix.pg}}, PostGIS-${{matrix.postgis}}, OS-${{matrix.os}}
|
|
|
|
+ runs-on: ${{matrix.os}}
|
|
strategy:
|
|
strategy:
|
|
fail-fast: false
|
|
fail-fast: false
|
|
matrix:
|
|
matrix:
|
|
|
|
+ os:
|
|
|
|
+ - "ubuntu-20.04"
|
|
pg:
|
|
pg:
|
|
- - 10
|
|
|
|
|
|
+ - 12
|
|
|
|
+ postgis:
|
|
|
|
+ - 3
|
|
otp:
|
|
otp:
|
|
- "24.0"
|
|
- "24.0"
|
|
- "23.3"
|
|
- "23.3"
|
|
- "22.3"
|
|
- "22.3"
|
|
- "21.3"
|
|
- "21.3"
|
|
- "20.3"
|
|
- "20.3"
|
|
- - "19.3"
|
|
|
|
|
|
+ include:
|
|
|
|
+ - otp: "19.3"
|
|
|
|
+ os: "ubuntu-18.04"
|
|
|
|
+ pg: 10
|
|
|
|
+ postgis: "2.4"
|
|
# env:
|
|
# env:
|
|
# PATH: ".:/usr/lib/postgresql/12/bin:$PATH"
|
|
# PATH: ".:/usr/lib/postgresql/12/bin:$PATH"
|
|
env:
|
|
env:
|
|
@@ -35,7 +44,7 @@ jobs:
|
|
otp-version: ${{matrix.otp}}
|
|
otp-version: ${{matrix.otp}}
|
|
|
|
|
|
- name: Setup postgresql server with postgis
|
|
- name: Setup postgresql server with postgis
|
|
- run: sudo apt install postgresql-${{matrix.pg}} postgresql-contrib-${{matrix.pg}} postgresql-${{matrix.pg}}-postgis-2.4 postgresql-${{matrix.pg}}-postgis-2.4-scripts
|
|
|
|
|
|
+ run: sudo apt install postgresql-${{matrix.pg}} postgresql-contrib-${{matrix.pg}} postgresql-${{matrix.pg}}-postgis-${{matrix.postgis}} postgresql-${{matrix.pg}}-postgis-${{matrix.postgis}}-scripts
|
|
|
|
|
|
- name: elvis
|
|
- name: elvis
|
|
run: make elvis
|
|
run: make elvis
|