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

Test Drupal 11 compatibility #114

Merged
merged 8 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from 7 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
9 changes: 7 additions & 2 deletions .github/workflows/drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
composer-project:
name: ${{ matrix.template }} on PHP ${{ matrix.php }}
name: ${{ matrix.template }} ${{ matrix.core }}.x on PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -20,6 +20,11 @@ jobs:
template:
- recommended-project
- legacy-project
core: [10, 11]
# Drupal 11's minimum PHP version is 8.3.
exclude:
- { core: 11, php: 8.1 }
- { core: 11, php: 8.2 }

steps:
- name: Checkout self
Expand All @@ -35,7 +40,7 @@ jobs:

- name: Create Drupal project
run: |
composer create-project drupal/${{ matrix.template }} project
composer create-project drupal/${{ matrix.template }}:^${{ matrix.core }}@dev project
cd project
composer config --no-plugins allow-plugins.php-tuf/composer-integration true
composer config repositories.local path ../composer-integration
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"minimum-stability": "stable",
"require": {
"composer-plugin-api": "^2.6",
"php-tuf/php-tuf": "0.1.5",
"php-tuf/php-tuf": "dev-main",
phenaproxima marked this conversation as resolved.
Show resolved Hide resolved
"guzzlehttp/psr7": "^2.4"
},
"autoload": {
Expand Down
Loading