mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -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
|
||||
|
23
.github/workflows/test.yml
vendored
23
.github/workflows/test.yml
vendored
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user