Test supported PHP versions only (#14389)

* Test supported PHP versions only
Lower mariadb and mysql to their minimum supported versions for unit tests

* Cannot test PHP 8.2 yet, dependencies need to be updated first.
This commit is contained in:
Tony Murray
2022-09-27 14:28:28 -05:00
committed by GitHub
parent b1d25a96e4
commit 883071dcfc
2 changed files with 5 additions and 20 deletions

View File

@@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.3, 7.4, 8.0, 8.1]
php: [8.1]
steps:
-
name: Checkout Code

View File

@@ -32,32 +32,17 @@ jobs:
php-version: 8.1
name: Unit
skip-web-check: 1
database: mariadb:10.8
database: mariadb:10.5
-
php-version: 8.0
php-version: 8.1
name: Unit
skip-web-check: 1
database: mariadb:10.5
database: mysql:8.0
-
php-version: 8.1
name: Web
skip-unit-check: 1
database: mysql:5.7
-
php-version: 7.4
name: Unit
skip-web-check: 1
database: mysql:5.7
-
php-version: 7.3
name: Unit
skip-web-check: 1
database: mysql:8.0
-
php-version: 7.3
name: Web
skip-unit-check: 1
database: mysql:8.0
database: mariadb:10.9
services:
database:
image: ${{ matrix.database }}