Skip to content

Commit

Permalink
test: add MySQL 8.1 to the suite (#3870)
Browse files Browse the repository at this point in the history
* Test using MySQL 8.1 also
* fix: db not added to matrix
* chore: add MySQL 8.1 to prefix tests
  • Loading branch information
imorland authored Sep 14, 2023
1 parent e731fb6 commit ee34217
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/REUSABLE_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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] }}
Expand All @@ -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:
Expand Down

0 comments on commit ee34217

Please sign in to comment.