File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 80
80
- name : " Install dependencies with composer"
81
81
run : " composer update --no-interaction --no-progress --no-suggest --prefer-lowest"
82
82
83
+ - name : Wait for MySQL
84
+ run : |
85
+ while ! mysqladmin ping --host=127.0.0.1 --silent; do
86
+ sleep 1
87
+ done
88
+
83
89
- name : " Run PHPUnit"
84
90
run : " vendor/bin/phpunit --no-coverage"
85
91
@@ -124,6 +130,12 @@ jobs:
124
130
- name : " Install dependencies with composer"
125
131
run : " composer install --no-interaction --no-progress --no-suggest"
126
132
133
+ - name : Wait for MySQL
134
+ run : |
135
+ while ! mysqladmin ping --host=127.0.0.1 --silent; do
136
+ sleep 1
137
+ done
138
+
127
139
- name : " Run PHPUnit"
128
140
run : " vendor/bin/phpunit"
129
141
@@ -170,5 +182,11 @@ jobs:
170
182
- name : " Install dependencies with composer"
171
183
run : " composer install --no-interaction --no-progress --no-suggest"
172
184
185
+ - name : Wait for MySQL
186
+ run : |
187
+ while ! mysqladmin ping --host=127.0.0.1 --silent; do
188
+ sleep 1
189
+ done
190
+
173
191
- name : " Run PHPUnit"
174
192
run : " vendor/bin/phpunit --no-coverage"
You can’t perform that action at this time.
0 commit comments