Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added site information to CI. #670

Merged
merged 3 commits into from
May 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

matrix:
php-versions: ['8.1', '8.2']
drupal-release: ['stable', 'dev']
drupal-release: ['stable', 'beta', 'dev']
composer-channel: ['stable', 'snapshot']
# Drupal 10.x-dev tests fail on PHP 8.3.
# @see https://www.drupal.org/project/drupal/issues/3375693
Expand Down Expand Up @@ -75,16 +75,21 @@ jobs:
run: composer require --dev phpspec/prophecy-phpunit:^2

- name: Override Drupal version to dev for testing dev releases
if: matrix.drupal-release == 'dev'
if: matrix.drupal-release == 'dev' || matrix.drupal-release == 'beta'
run: |
composer config minimum-stability dev
composer --verbose require --no-update drupal/core-recommended:10.0.x-dev
composer --verbose require --no-update --dev drupal/core-dev:10.0.x-dev
composer config minimum-stability ${{ matrix.drupal-release }}
composer config prefer-stable false
composer --verbose require --no-update drupal/core-composer-scaffold:^10@${{ matrix.drupal-release }}
composer --verbose require --no-update drupal/core-recommended:^10@${{ matrix.drupal-release }}
composer --verbose require --no-update --dev drupal/core-dev:^10@${{ matrix.drupal-release }}
composer --verbose update

- name: Install site
run: ./vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite

- name: Show site information
run: ./vendor/bin/drush status

- name: Start server
run: |
./vendor/bin/drush runserver "$SIMPLETEST_BASE_URL" &
Expand Down
Loading