-
Notifications
You must be signed in to change notification settings - Fork 941
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
[10.x] Re-formatted CI and added more PHP versions to the test matrix. #654
Conversation
49fb57c
to
db4ee50
Compare
run: ./vendor/bin/phpunit -c ./web/core ./web/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php | ||
|
||
- run: ./vendor/bin/drush |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not needed - Drush was used above to install the site and run the server
|
||
# https://www.drupal.org/project/drupal/issues/3182653 | ||
# https://www.drupal.org/node/3176567 | ||
- if: ${{ matrix.php-versions == '8.1' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved above to the part where all of the code base is prepared
|
||
- run: ./vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite | ||
- name: Override Drupal version to dev for testing dev releases |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a single operation, so combined multiple steps
php-versions: ['8.1'] | ||
drupal-release: ['stable'] | ||
composer-channel: ['stable'] | ||
php-versions: ['8.1', '8.2'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHP Versions | Drupal Release | Composer Channel |
---|---|---|
8.1 | stable | stable |
8.1 | stable | snapshot |
8.1 | dev | stable |
8.1 | dev | snapshot |
8.2 | stable | stable |
8.2 | stable | snapshot |
8.2 | dev | stable |
8.2 | dev | snapshot |
8.3 | stable | stable |
8.3 | stable | snapshot |
@leymannx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good to me 👌🏻
I've updated the CI config to have names for each job for consistency.
I've also added additional PHP versions to test:
Note that Drupal 10.x-dev tests fail on PHP 8.3. https://www.drupal.org/project/drupal/issues/3375693