File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ jobs:
153153 run : |
154154 echo "APP_ENV=testing" >> .env
155155 echo "DB_CONNECTION=mysql" >> .env
156- echo "DB_HOST=mysql " >> .env
156+ echo "DB_HOST=127.0.0.1 " >> .env
157157 echo "DB_PORT=3306" >> .env
158158 echo "DB_DATABASE=laravel_blog_test" >> .env
159159 echo "DB_USERNAME=laravel_user" >> .env
@@ -165,7 +165,7 @@ jobs:
165165 - name : Wait for MySQL to be ready
166166 run : |
167167 for i in {1..30}; do
168- if mysqladmin ping -h mysql -u laravel_user -plaravel_password --silent; then
168+ if mysqladmin ping -h 127.0.0.1 -u laravel_user -plaravel_password --silent; then
169169 echo "MySQL is ready"
170170 break
171171 fi
@@ -177,4 +177,4 @@ jobs:
177177 run : php artisan migrate:fresh --seed --env=testing --force
178178
179179 - name : Run tests with Pest (parallel)
180- run : php artisan test --parallel --recreate-databases -- stop-on-failure
180+ run : php artisan test --parallel --stop-on-failure
You can’t perform that action at this time.
0 commit comments