Преглед изворни кода

ci: run the integration tests on PostgreSQL 11 and 19

CI only ran them on PostgreSQL 11, the oldest supported version, so
nothing covered the current release.
Frédéric Guillot пре 4 часа
родитељ
комит
8254666ca8
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      .github/workflows/tests.yml

+ 4 - 1
.github/workflows/tests.yml

@@ -35,9 +35,12 @@ jobs:
   integration-tests:
   integration-tests:
     name: Integration Tests
     name: Integration Tests
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        postgres: [11, 19]
     services:
     services:
       postgres:
       postgres:
-        image: postgres:11
+        image: postgres:${{ matrix.postgres }}
         env:
         env:
           POSTGRES_USER: postgres
           POSTGRES_USER: postgres
           POSTGRES_PASSWORD: postgres
           POSTGRES_PASSWORD: postgres