From ee34217b154e4d83c3342c4e595dfff91e558c26 Mon Sep 17 00:00:00 2001 From: IanM <16573496+imorland@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:04:25 +0100 Subject: [PATCH] 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 --- .github/workflows/REUSABLE_backend.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/REUSABLE_backend.yml b/.github/workflows/REUSABLE_backend.yml index e368261ff7..b7b135f1e1 100644 --- a/.github/workflows/REUSABLE_backend.yml +++ b/.github/workflows/REUSABLE_backend.yml @@ -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: