mirror of
https://github.com/flarum/framework.git
synced 2025-03-04 05:25:41 +08:00
test: add MySQL 8.1 to the suite (#3870)
* Test using MySQL 8.1 also * fix: db not added to matrix * chore: add MySQL 8.1 to prefix tests
This commit is contained in:
parent
e731fb6189
commit
ee34217b15
9
.github/workflows/REUSABLE_backend.yml
vendored
9
.github/workflows/REUSABLE_backend.yml
vendored
@ -43,7 +43,7 @@ on:
|
||||
description: Versions of databases to test with. Should be array of strings encoded as JSON array
|
||||
type: string
|
||||
required: false
|
||||
default: '["mysql:5.7", "mysql:8.0.30", "mariadb"]'
|
||||
default: '["mysql:5.7", "mysql:8.0.30", "mysql:8.1.0", "mariadb"]'
|
||||
|
||||
php_ini_values:
|
||||
description: PHP ini values
|
||||
@ -76,6 +76,8 @@ jobs:
|
||||
db: MySQL 8.0
|
||||
- service: mariadb
|
||||
db: MariaDB
|
||||
- service: 'mysql:8.1.0'
|
||||
db: MySQL 8.1
|
||||
|
||||
# Include Database prefix tests with only one PHP version.
|
||||
- php: ${{ fromJSON(inputs.php_versions)[0] }}
|
||||
@ -93,6 +95,11 @@ jobs:
|
||||
db: MariaDB
|
||||
prefix: flarum_
|
||||
prefixStr: (prefix)
|
||||
- php: ${{ fromJSON(inputs.php_versions)[0] }}
|
||||
service: 'mysql:8.1.0'
|
||||
db: MySQL 8.1
|
||||
prefix: flarum_
|
||||
prefixStr: (prefix)
|
||||
|
||||
# To reduce number of actions, we exclude some PHP versions from running with some DB versions.
|
||||
exclude:
|
||||
|
Loading…
x
Reference in New Issue
Block a user