]> git.openstreetmap.org Git - nominatim.git/commitdiff
actions: run legacy test against newest postgresql 16
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 5 Mar 2024 15:33:35 +0000 (16:33 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 5 Mar 2024 18:38:06 +0000 (19:38 +0100)
.github/workflows/ci-tests.yml

index d1079375df0821ce3fc8b16e6bf0e5f0bf1547d9..7ce6320d5f8a07d74d0e53c507ed175d5c47f17b 100644 (file)
@@ -134,6 +134,10 @@ jobs:
         needs: create-archive
         runs-on: ubuntu-20.04
 
+        strategy:
+            matrix:
+                postgresql: ["13", "16"]
+
         steps:
             - uses: actions/download-artifact@v4
               with:
@@ -149,11 +153,13 @@ jobs:
 
             - uses: ./Nominatim/.github/actions/setup-postgresql
               with:
-                  postgresql-version: 13
+                  postgresql-version: ${{ matrix.postgresql }}
                   postgis-version: 3
 
             - name: Install Postgresql server dev
-              run: sudo apt-get install postgresql-server-dev-13
+              run: sudo apt-get install postgresql-server-dev-$PGVER
+              env:
+                PGVER: ${{ matrix.postgresql }}
 
             - uses: ./Nominatim/.github/actions/build-nominatim
               with: