mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
feat: Update supportes PostgreSQL versions
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
e3edf43e28
commit
a529cdf080
2 changed files with 6 additions and 6 deletions
8
.github/workflows/phpunit-pgsql.yml
vendored
8
.github/workflows/phpunit-pgsql.yml
vendored
|
|
@ -61,13 +61,13 @@ jobs:
|
|||
matrix:
|
||||
php-versions: ['8.2']
|
||||
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
|
||||
postgres-versions: ['13', '17']
|
||||
postgres-versions: ['14', '18']
|
||||
include:
|
||||
- php-versions: '8.3'
|
||||
postgres-versions: '17'
|
||||
postgres-versions: '18'
|
||||
coverage: ${{ github.event_name != 'pull_request' }}
|
||||
- php-versions: '8.4'
|
||||
postgres-versions: '17'
|
||||
postgres-versions: '18'
|
||||
|
||||
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
POSTGRES_USER: root
|
||||
POSTGRES_PASSWORD: rootpassword
|
||||
POSTGRES_DB: nextcloud
|
||||
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
|
||||
options: --mount type=tmpfs,destination=/var/lib/postgresql --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
|
||||
|
||||
steps:
|
||||
- name: Checkout server
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ class SupportedDatabase implements ISetupCheck {
|
|||
private const MAX_MARIADB = '11.8';
|
||||
private const MIN_MYSQL = '8.0';
|
||||
private const MAX_MYSQL = '8.4';
|
||||
private const MIN_POSTGRES = '13';
|
||||
private const MAX_POSTGRES = '17';
|
||||
private const MIN_POSTGRES = '14';
|
||||
private const MAX_POSTGRES = '18';
|
||||
|
||||
public function __construct(
|
||||
private IL10N $l10n,
|
||||
|
|
|
|||
Loading…
Reference in a new issue