Skip to content

Commit

Permalink
fix: use Pimcore 10 only with PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukadschaak committed Nov 8, 2023
1 parent aa8240f commit ba56392
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Expand Up @@ -38,6 +38,7 @@ jobs:
dependencies: "highest"
- php-version: "8.2"
dependencies: "lowest"
composer-options: "--with pimcore/pimcore='^11.0'"
- php-version: "8.2"
dependencies: "highest"

Expand All @@ -54,10 +55,11 @@ jobs:
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer-options }}

- name: Add Pimcore Admin UI
run: composer require --dev pimcore/admin-ui-classic-bundle --no-interaction
if: matrix.dependencies == 'highest'
if: matrix.dependencies == 'highest' && matrix.php-version == '8.2'

- name: Execute tests
run: composer tests
Expand Down

0 comments on commit ba56392

Please sign in to comment.