File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change 17
17
mysql :
18
18
image : mysql:5.7
19
19
env :
20
- MYSQL_ALLOW_EMPTY_PASSWORD : yes
21
- MYSQL_DATABASE : forge
20
+ MYSQL_RANDOM_ROOT_PASSWORD : yes
21
+ MYSQL_DATABASE : pulse
22
+ MYSQL_USER : pulse
23
+ MYSQL_PASSWORD : password
22
24
ports :
23
25
- 3306:3306
24
26
options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
61
63
run : vendor/bin/pest
62
64
env :
63
65
DB_CONNECTION : mysql
64
- DB_USERNAME : root
66
+ DB_DATABASE : pulse
67
+ DB_USERNAME : pulse
68
+ DB_PASSWORD : password
69
+ DB_COLLATION : utf8mb4_unicode_ci
65
70
66
71
mariadb :
67
72
runs-on : ubuntu-22.04
70
75
mysql :
71
76
image : mariadb:10.5
72
77
env :
73
- MYSQL_ALLOW_EMPTY_PASSWORD : yes
74
- MYSQL_DATABASE : forge
78
+ MYSQL_RANDOM_ROOT_PASSWORD : yes
79
+ MYSQL_DATABASE : pulse
80
+ MYSQL_USER : pulse
81
+ MYSQL_PASSWORD : password
75
82
ports :
76
83
- 3306:3306
77
84
options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
@@ -113,8 +120,10 @@ jobs:
113
120
- name : Execute tests
114
121
run : vendor/bin/pest
115
122
env :
116
- DB_CONNECTION : mysql
117
- DB_USERNAME : root
123
+ DB_CONNECTION : mariadb
124
+ DB_DATABASE : pulse
125
+ DB_USERNAME : pulse
126
+ DB_PASSWORD : password
118
127
119
128
pgsql :
120
129
runs-on : ubuntu-22.04
@@ -123,8 +132,8 @@ jobs:
123
132
postgresql :
124
133
image : postgres:14
125
134
env :
126
- POSTGRES_DB : forge
127
- POSTGRES_USER : forge
135
+ POSTGRES_DB : pulse
136
+ POSTGRES_USER : pulse
128
137
POSTGRES_PASSWORD : password
129
138
ports :
130
139
- 5432:5432
@@ -169,6 +178,8 @@ jobs:
169
178
run : vendor/bin/pest
170
179
env :
171
180
DB_CONNECTION : pgsql
181
+ DB_DATABASE : pulse
182
+ DB_USERNAME : pulse
172
183
DB_PASSWORD : password
173
184
174
185
sqlite :
You can’t perform that action at this time.
0 commit comments