mirror of
https://github.com/django/django.git
synced 2025-09-10 02:59:34 +00:00
Added matrix with newer image versions to the "postgis" GitHub Action.
This work allows to test three types of postgis Docker images to cover a wider spectrum of geo libraries versions: * `latest` (recommended upstream): uses latest stable Debian packages. These versions are generally conservative, so they may lag behind. * `alpine`: build PostGIS from source on Alpine, and ship newer geospatial libs. * `master`: provides development versions, therefore coverage for what's coming. Future compatibility issues can be caught in advance. This split is important because each image differs significantly in GEOS/PROJ/GDAL versions, so testing all increases confidence in compatibility. More info at https://hub.docker.com/r/postgis/postgis/. For example, at the time of this branch: * latest stable in debian: * POSTGIS="3.5.2 dea6d0a" * GEOS="3.9.0-CAPI-1.16.2" * PROJ="7.2.1" * latest stable in alpine: * POSTGIS="3.5.3 0" * GEOS="3.13.1-CAPI-1.19.2" * PROJ="9.6.0 * latest development branch: * POSTGIS="3.6.0dev 3.6.0beta1-29-g7c8cfe07d" * GEOS="3.14.0beta2-CAPI-1.20.1" * PROJ="9.7.0"
This commit is contained in:
parent
1b0c4d5ea5
commit
4f07767106
10
.github/workflows/postgis.yml
vendored
10
.github/workflows/postgis.yml
vendored
@ -14,13 +14,17 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
postgis-latest:
|
||||
postgis:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'geodjango')
|
||||
runs-on: ubuntu-latest
|
||||
name: Latest PostGIS
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
postgis-version: [latest, "17-3.5-alpine", "17-master"]
|
||||
name: PostGIS ${{ matrix.postgis-version }}
|
||||
services:
|
||||
postgres:
|
||||
image: postgis/postgis:latest
|
||||
image: postgis/postgis:${{ matrix.postgis-version }}
|
||||
env:
|
||||
POSTGRES_DB: geodjango
|
||||
POSTGRES_USER: user
|
||||
|
Loading…
x
Reference in New Issue
Block a user