Skip to content

Commit

Permalink
Fix thunder distribution pipeline (#77)
Browse files Browse the repository at this point in the history
* Update prepare_build.sh

* Do not test Drupal 9
  • Loading branch information
dbosen authored Feb 8, 2024
1 parent 9ca4b13 commit fcf201e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,13 @@ jobs:

strategy:
matrix:
RUN: [1, 2, 3, 4, 5]
RUN: [1, 2]
include:
- RUN: 1
DRUPAL_TESTING_DRUPAL_VERSION: '~9.3'
DRUPAL_TESTING_COMPOSER_PROJECT: 'drupal/recommended-project'
DRUPAL_TESTING_DRUPAL_VERSION: '~10.0'
PHP_VERSION: '8.1'
- RUN: 2
DRUPAL_TESTING_DRUPAL_VERSION: '~9.3.0'
DRUPAL_TESTING_MIN_BUILD: true
PHP_VERSION: '8.1'
- RUN: 3
DRUPAL_TESTING_COMPOSER_PROJECT: 'thunder/thunder-project'
DRUPAL_TESTING_DRUPAL_VERSION: '~9.4.0'
DRUPAL_TESTING_COMPOSER_PROJECT_VERSION: '3.0.12'
PHP_VERSION: '7.4'
- RUN: 4
DRUPAL_TESTING_DRUPAL_VERSION: '~9.4'
PHP_VERSION: '8.0'
- RUN: 5
DRUPAL_TESTING_DRUPAL_VERSION: '~10.0'
PHP_VERSION: '8.1'
- RUN: 6
PHP_VERSION: '8.2'

steps:
Expand Down
2 changes: 1 addition & 1 deletion lib/stages/prepare_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ _stage_prepare_build() {
composer require "${dev_dependency}" --dev --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
done

composer require drush/drush --no-install --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
composer require drush/drush --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"

# Allow required plugins
composer config allow-plugins.cweagans/composer-patches true --no-plugins --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
Expand Down

0 comments on commit fcf201e

Please sign in to comment.