Skip to content

Commit cf851a9

Browse files
committed
use mysql8 for tests
1 parent a023985 commit cf851a9

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/codeception.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
MYSQL_DATABASE: dachcom_bundle_test
3333
services:
3434
mysql:
35-
image: mysql:5.7
35+
image: mysql:8.0
3636
env:
3737
MYSQL_ROOT_PASSWORD: root
3838
MYSQL_DATABASE: dachcom_bundle_test
@@ -90,13 +90,11 @@ jobs:
9090
- name: Verify MySql Connection
9191
run: |
9292
sudo apt-get update
93-
sudo apt-get install -y mysql-client-5.7
93+
sudo apt-get install -y mysql-client-8.0
9494
mysql -uroot -h127.0.0.1 -proot -e "SHOW DATABASES"
9595
9696
- name: Setup MySql
9797
run: |
98-
mysql -uroot -h127.0.0.1 -proot -e "SET GLOBAL innodb_file_format=Barracuda;"
99-
mysql -uroot -h127.0.0.1 -proot -e "SET GLOBAL innodb_large_prefix=1;"
10098
mysql -uroot -h127.0.0.1 -proot -e "CREATE DATABASE dachcom_bundle_test CHARSET=utf8mb4;"
10199
102100
- name: Setup Chromium

.github/workflows/ecs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
MYSQL_DATABASE: dachcom_bundle_test
3232
services:
3333
mysql:
34-
image: mysql:5.7
34+
image: mysql:8.0
3535
env:
3636
MYSQL_ROOT_PASSWORD: root
3737
MYSQL_DATABASE: dachcom_bundle_test
@@ -86,13 +86,11 @@ jobs:
8686
- name: Verify MySql Connection
8787
run: |
8888
sudo apt-get update
89-
sudo apt-get install -y mysql-client-5.7
89+
sudo apt-get install -y mysql-client-8.0
9090
mysql -uroot -h127.0.0.1 -proot -e "SHOW DATABASES"
9191
9292
- name: Setup MySql
9393
run: |
94-
mysql -uroot -h127.0.0.1 -proot -e "SET GLOBAL innodb_file_format=Barracuda;"
95-
mysql -uroot -h127.0.0.1 -proot -e "SET GLOBAL innodb_large_prefix=1;"
9694
mysql -uroot -h127.0.0.1 -proot -e "CREATE DATABASE dachcom_bundle_test CHARSET=utf8mb4;"
9795
9896
- name: Get Composer Cache Directory

.github/workflows/php-stan.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
MYSQL_DATABASE: dachcom_bundle_test
3232
services:
3333
mysql:
34-
image: mysql:5.7
34+
image: mysql:8.0
3535
env:
3636
MYSQL_ROOT_PASSWORD: root
3737
MYSQL_DATABASE: dachcom_bundle_test
@@ -85,13 +85,11 @@ jobs:
8585
- name: Verify MySql Connection
8686
run: |
8787
sudo apt-get update
88-
sudo apt-get install -y mysql-client-5.7
88+
sudo apt-get install -y mysql-client-8.0
8989
mysql -uroot -h127.0.0.1 -proot -e "SHOW DATABASES"
9090
9191
- name: Setup MySql
9292
run: |
93-
mysql -uroot -h127.0.0.1 -proot -e "SET GLOBAL innodb_file_format=Barracuda;"
94-
mysql -uroot -h127.0.0.1 -proot -e "SET GLOBAL innodb_large_prefix=1;"
9593
mysql -uroot -h127.0.0.1 -proot -e "CREATE DATABASE dachcom_bundle_test CHARSET=utf8mb4;"
9694
9795
- name: Get Composer Cache Directory

0 commit comments

Comments
 (0)