Skip to content

Commit

Permalink
Move phpspec/prophecy-phpunit to dev section (#72)
Browse files Browse the repository at this point in the history
* Move phpspec/prophecy-phpunit to dev section

* Rename tests.yml to testing.yml

* Update versions

* Update testing.yml
  • Loading branch information
chrfritsch authored Dec 21, 2022
1 parent 0385dcf commit 02801d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml → .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion lib/stages/prepare_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02801d7

Please sign in to comment.