Skip to content

Commit f98cabc

Browse files
Merge pull request #56155 from nextcloud/feat/update-supported-postgres-versions
feat: Update supported PostgreSQL versions
2 parents 4a399a3 + a529cdf commit f98cabc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/phpunit-pgsql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
matrix:
6262
php-versions: ['8.2']
6363
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
64-
postgres-versions: ['13', '17']
64+
postgres-versions: ['14', '18']
6565
include:
6666
- php-versions: '8.3'
67-
postgres-versions: '17'
67+
postgres-versions: '18'
6868
coverage: ${{ github.event_name != 'pull_request' }}
6969
- php-versions: '8.4'
70-
postgres-versions: '17'
70+
postgres-versions: '18'
7171

7272
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
7373

@@ -86,7 +86,7 @@ jobs:
8686
POSTGRES_USER: root
8787
POSTGRES_PASSWORD: rootpassword
8888
POSTGRES_DB: nextcloud
89-
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
89+
options: --mount type=tmpfs,destination=/var/lib/postgresql --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
9090

9191
steps:
9292
- name: Checkout server

apps/settings/lib/SetupChecks/SupportedDatabase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class SupportedDatabase implements ISetupCheck {
2020
private const MAX_MARIADB = '11.8';
2121
private const MIN_MYSQL = '8.0';
2222
private const MAX_MYSQL = '8.4';
23-
private const MIN_POSTGRES = '13';
24-
private const MAX_POSTGRES = '17';
23+
private const MIN_POSTGRES = '14';
24+
private const MAX_POSTGRES = '18';
2525

2626
public function __construct(
2727
private IL10N $l10n,

0 commit comments

Comments
 (0)