Add debugging and error handling to PHPUnit workflow
- Add verbose logging to install-wp-tests.sh step - Make mysqladmin create non-fatal (database may already exist) - Add echo statements to track installation progress This helps diagnose the "Install WordPress test suite" failure and prevents failures when database already exists. 🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
@@ -152,7 +152,7 @@ install_db() {
|
||||
fi
|
||||
fi
|
||||
|
||||
mysqladmin create "$DB_NAME" --user="$DB_USER" --password="$DB_PASS"$EXTRA
|
||||
mysqladmin create "$DB_NAME" --user="$DB_USER" --password="$DB_PASS"$EXTRA || true
|
||||
}
|
||||
|
||||
install_wp
|
||||
|
||||
Reference in New Issue
Block a user