From 4cef02d66e3a8a5ea93fdc0c0865274bb4a706cb Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Mon, 28 Oct 2024 11:56:49 -0400 Subject: [PATCH] Add Drupal 11 test support (#136) --- .github/workflows/build-2.x.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-2.x.yml b/.github/workflows/build-2.x.yml index 6143dec..8b4df6f 100644 --- a/.github/workflows/build-2.x.yml +++ b/.github/workflows/build-2.x.yml @@ -24,7 +24,12 @@ jobs: matrix: test-suite: ["kernel"] php-versions: ["8.1", "8.2", "8.3"] - drupal-version: ["10.2.x", "10.3.x", "10.4.x-dev"] + drupal-version: ["10.2.x", "10.3.x", "10.4.x-dev", "11.0.x"] + exclude: + - drupal-version: "11.0.x" + php-versions: "8.1" + - drupal-version: "11.0.x" + php-versions: "8.2" name: PHP ${{ matrix.php-versions }} | drupal ${{ matrix.drupal-version }} env: DRUPAL_VERSION: ${{ matrix.drupal-version }} @@ -112,4 +117,4 @@ jobs: SIMPLETEST_DB: mysql://drupal:drupal@127.0.0.1/drupal BROWSERTEST_OUTPUT_DIRECTORY: /opt/drupal/web/sites/simpletest/browser_output run: | - $DRUPAL_DIR/vendor/bin/phpunit "--bootstrap=$DRUPAL_WEB_ROOT/core/tests/bootstrap.php" --group $DRUPAL_EXTENSION_NAME --verbose "$GITHUB_WORKSPACE" + $DRUPAL_DIR/vendor/bin/phpunit "--bootstrap=$DRUPAL_WEB_ROOT/core/tests/bootstrap.php" --group $DRUPAL_EXTENSION_NAME "$GITHUB_WORKSPACE"