Skip to content

Commit 2d02184

Browse files
committed
changed CI config.
1 parent 719cf7c commit 2d02184

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@ jobs:
4040
extensions: mbstring, pdo, sqlite, curl, dom, mysql
4141
coverage: none
4242

43+
- name: Debug info
44+
run: |
45+
php -v
46+
composer --version
47+
mysql --version || true
48+
echo "Waiting for MySQL..."
49+
for i in {30..0}; do
50+
if mysqladmin ping -h 127.0.0.1 --silent; then
51+
echo "MySQL is ready"
52+
break
53+
fi
54+
echo "Waiting for MySQL ($i)..."
55+
sleep 1
56+
done
57+
4358
- name: Install dependencies
4459
run: |
4560
composer install --no-interaction ${{ matrix.composer_option || '' }}

0 commit comments

Comments
 (0)