Skip to content

Commit 6c43d56

Browse files
committed
Merge remote-tracking branch 'origin/mysql57-support' into i469
2 parents efd351a + 1e7bbd3 commit 6c43d56

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/phpunits.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
php-versions: [8.0, 8.1]
22-
databases: [testing, pgsql, mysql, mariadb]
22+
databases: [testing, pgsql, mysql, mysql57, mariadb]
2323
caches: [array, redis, memcached]
2424

2525
services:
@@ -84,6 +84,20 @@ jobs:
8484
ports:
8585
- 3307:3306
8686

87+
mysql57:
88+
image: bitnami/mysql:5.7
89+
env:
90+
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
91+
MYSQL_ROOT_PASSWORD: wallet
92+
MYSQL_DATABASE: wallet
93+
options: >-
94+
--health-cmd="mysqladmin ping"
95+
--health-interval 10s
96+
--health-timeout 5s
97+
--health-retries 10
98+
ports:
99+
- 3308:3306
100+
87101
steps:
88102
- name: Checkout
89103
id: git-checkout

tests/Infra/TestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ protected function getEnvironmentSetUp($app): void
6565
$config->set('database.connections.mariadb', array_merge($mysql, [
6666
'port' => 3307,
6767
]));
68+
$config->set('database.connections.mysql57', array_merge($mysql, [
69+
'port' => 3308,
70+
]));
6871

6972
// new table name's
7073
$config->set('wallet.transaction.table', 'transaction');

0 commit comments

Comments
 (0)