Skip to content

Commit

Permalink
Flag PHP 8.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 committed Apr 8, 2024
1 parent 24111b2 commit 02190ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php_image: ["wodby/drupal-php:8.1-dev"]
php_image: ["wodby/drupal-php:8.1-dev", "wodby/drupal-php:8.2-dev"]
db_image: ["wodby/mariadb:10.5"]
# TODO Get version range from composer.json dynamically.
drupal_version: ["^10.1"]
Expand All @@ -64,6 +64,12 @@ jobs:
repository: Pronovix/docker-drupal-dev
path: ./drupal-dev

# TODO Remove this after Drupal QA got a PHP 8.2 compatible release.
- name: Drupal QA workaround
if: matrix.php_image == 'wodby/drupal-php:8.2-dev'
run: |
export COMPOSER_IGNORE_PLATFORM_REQ=php+
- name: Setup environment
run: |
mkdir build
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"zaporylie/composer-drupal-optimizations": true
},
"optimize-autoloader": true,
"platform": {
"php": "8.1.0"
},
"sort-packages": true,
"vendor-dir": "build/vendor"
},
Expand Down

0 comments on commit 02190ad

Please sign in to comment.