We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bad5d1 commit 171476fCopy full SHA for 171476f
.github/workflows/ci.yml
@@ -153,7 +153,7 @@ jobs:
153
run: |
154
echo "APP_ENV=testing" >> .env
155
echo "DB_CONNECTION=mysql" >> .env
156
- echo "DB_HOST=127.0.0.1" >> .env
+ echo "DB_HOST=mysql" >> .env
157
echo "DB_PORT=3306" >> .env
158
echo "DB_DATABASE=laravel_blog_test" >> .env
159
echo "DB_USERNAME=laravel_user" >> .env
@@ -165,7 +165,7 @@ jobs:
165
- name: Wait for MySQL to be ready
166
167
for i in {1..30}; do
168
- if mysqladmin ping -h 127.0.0.1 -u laravel_user -plaravel_password --silent; then
+ if mysqladmin ping -h mysql -u laravel_user -plaravel_password --silent; then
169
echo "MySQL is ready"
170
break
171
fi
0 commit comments