Skip to content

Commit

Permalink
Test Drupal 11 compatibility (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
phenaproxima authored Jul 9, 2024
1 parent c783ff1 commit ecd7474
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
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": "0.1.6",
"guzzlehttp/psr7": "^2.4"
},
"autoload": {
Expand Down

0 comments on commit ecd7474

Please sign in to comment.