Refactor: consolidate build/test workflow with robust Drupal version logic

Contribution Date
Contribution Project
Contribution Details
Refactor: consolidate build/test workflow with robust Drupal version logic This commit consolidates the Docker build and test workflow into a single file (`docker-buildx.yml`), removing the redundant `test-drupal.yml`. Key changes: - Moves the `composer create-project` logic into `tests/install-drupal.sh` to ensure it runs inside the container with correct PHP version resolution and file permissions. - Updates `tests/install-drupal.sh` to parse the Drupal version argument (e.g., "10.x") and apply the appropriate Composer constraint (`^10`). - Updates `docker-buildx.yml` to call `install-drupal.sh` with the correct version constraint ("10.x" for PHP 8.2, "11.x" for others). - Ensures `drupal-root` directory is cleaned before starting containers. - Adds `SQLITE_ENABLE_COLUMN_METADATA=1` to `php8/apache-bookworm/Dockerfile` (from previous attempt) to fix Drupal compatibility. Fixes issues with PHP 8.2 builds failing due to incorrect Drupal 11 dependencies being installed. Co-authored-by: hussainweb <1040271+hussainweb@users.noreply.github.com>
Contribution Author
hussainweb
Files count
0
Patches count
1