diff --git a/.github/workflows/tests.yml b/.github/workflows/testing.yml similarity index 93% rename from .github/workflows/tests.yml rename to .github/workflows/testing.yml index 4831567..f408aa7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/testing.yml @@ -12,6 +12,7 @@ env: DRUPAL_TESTING_DATABASE_USER: root DRUPAL_TESTING_DATABASE_PASSWORD: root DRUPAL_TESTING_DATABASE_ENGINE: mysql + DRUPAL_TESTING_SELENIUM_CHROME_VERSION: '105.0' jobs: test-projects: @@ -25,17 +26,17 @@ jobs: - RUN: 1 DRUPAL_TESTING_DRUPAL_VERSION: '~9.3' DRUPAL_TESTING_COMPOSER_PROJECT: 'drupal/recommended-project' - PHP_VERSION: '7.4' + PHP_VERSION: '8.1' - RUN: 2 - DRUPAL_TESTING_DRUPAL_VERSION: '~9.2.0' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.3.0' DRUPAL_TESTING_MIN_BUILD: true - PHP_VERSION: '7.4' + PHP_VERSION: '8.1' - RUN: 3 DRUPAL_TESTING_COMPOSER_PROJECT: 'thunder/thunder-project' - DRUPAL_TESTING_DRUPAL_VERSION: '~9.3.0' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.4.0' PHP_VERSION: '7.4' - RUN: 4 - DRUPAL_TESTING_DRUPAL_VERSION: '~9.3' + DRUPAL_TESTING_DRUPAL_VERSION: '~9.4' PHP_VERSION: '8.0' - RUN: 5 DRUPAL_TESTING_DRUPAL_VERSION: '~10.0' @@ -84,7 +85,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: coverage: none - php-version: '7.4' + php-version: '8.1' extensions: gd, pdo_mysql - name: Start MySql service @@ -136,7 +137,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: coverage: none - php-version: '7.4' + php-version: '8.1' extensions: gd, pdo_mysql - name: Start MySql service diff --git a/lib/stages/prepare_build.sh b/lib/stages/prepare_build.sh index 7237d50..0c24e36 100644 --- a/lib/stages/prepare_build.sh +++ b/lib/stages/prepare_build.sh @@ -35,7 +35,8 @@ _stage_prepare_build() { composer require oomphinc/composer-installers-extender --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" fi - composer require drush/drush:"^9||>=10.2.2" phpspec/prophecy-phpunit:^2 --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" + composer require drush/drush:"^11" --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" + composer require phpspec/prophecy-phpunit:^2 --dev --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" # Require phpstan. if [ "${DRUPAL_TESTING_TEST_DEPRECATION}" = true ]; then