Skip to content

Commit 5b25e31

Browse files
committed
ci: Adjust database versions to current LTS / supported versions
* MySQL tests * Minimum 8.0 (LTS) * Maximum 8.4 (LTS) * Drop 8.3 as we now test 8.4 and 8.3 was never LTS * MariaDB tests * still supported version 10.3 (no LTS but for Ubuntu 20.04 support) * LTS 10.6 * LTS 10.11 * LTS 11.4 * Drop 10.5 is was never LTS and we test 10.3 and 10.6 Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent f018222 commit 5b25e31

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/phpunit-mariadb.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
strategy:
5757
matrix:
5858
php-versions: ['8.1']
59-
mariadb-versions: ['10.3', '10.5', '10.6', '10.11']
59+
mariadb-versions: ['10.3', '10.6', '10.11', '11.4']
6060
include:
6161
- php-versions: '8.3'
62-
mariadb-versions: '10.6'
62+
mariadb-versions: '10.11'
6363
coverage: ${{ github.event_name != 'pull_request' }}
6464

6565
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -80,7 +80,7 @@ jobs:
8080
MYSQL_USER: oc_autotest
8181
MYSQL_PASSWORD: nextcloud
8282
MYSQL_DATABASE: oc_autotest
83-
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
83+
options: --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
8484

8585
steps:
8686
- name: Checkout server

.github/workflows/phpunit-mysql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
matrix:
5858
php-versions: ['8.1']
59-
mysql-versions: ['8.0', '8.3']
59+
mysql-versions: ['8.0', '8.4']
6060
include:
6161
- mysql-versions: '8.0'
6262
php-versions: '8.3'

0 commit comments

Comments
 (0)