Skip to content

Commit aab15cd

Browse files
committed
improve build matrix
1 parent dd29788 commit aab15cd

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ on:
1010

1111
jobs:
1212
php:
13-
name: "PHP ${{ matrix.php-version }} Symfony ${{ matrix.symfony-version }}"
13+
name: "PHP ${{ matrix.php-version }} Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies}}"
1414
runs-on: ubuntu-latest
1515

1616
env:
1717
KERNEL_CLASS: PHPCR\PhpcrMigrationsBundle\Tests\Resources\App\AppKernel
18+
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
1819

1920
strategy:
2021
fail-fast: false
@@ -24,7 +25,11 @@ jobs:
2425
symfony-version: '^5.4'
2526

2627
- php-version: '8.1'
27-
symfony-version: '6.0.*'
28+
symfony-version: '^6.0'
29+
dependencies: 'lowest'
30+
31+
- php-version: '8.1'
32+
symfony-version: '^6.4'
2833

2934
- php-version: '8.2'
3035

@@ -43,11 +48,11 @@ jobs:
4348
ini-values: memory_limit=-1
4449
coverage: none
4550

46-
- name: Composer update
47-
env:
48-
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
49-
run: |
50-
composer update ${{ matrix.composer-flag }} --prefer-dist --no-interaction --no-progress
51+
- name: Install dependencies with Composer
52+
uses: ramsey/composer-install@v1
53+
with:
54+
dependency-versions: ${{ matrix.dependencies }}
55+
composer-options: --prefer-dist
5156

5257
- name: Prepare phpcr odm doctrine dbal
5358
run: vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CHANGELOG
1010
* Deprecate using `Symfony\Component\DependencyInjection\ContainerAwareInterface` in favor of
1111
`PHPCR\PhpcrMigrationsBundle\ContainerAwareInterface` as Symfony 7 dropped its
1212
ContainerAwareInterface.
13-
On Symfony 6, the legacy ContainerAwareInterface continues to e supported.
13+
On Symfony 6, the legacy ContainerAwareInterface continues to be supported.
1414

1515
1.5.0
1616
-----

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0"
2525
},
2626
"require-dev": {
27-
"doctrine/doctrine-bundle": "^1.8 || ^2.0",
27+
"doctrine/doctrine-bundle": "^1.8 || ^2.5",
2828
"doctrine/phpcr-odm": "^1.4 || ^2.0",
29-
"doctrine/annotations": "^2.0",
29+
"doctrine/annotations": "^1.14 || ^2.0",
3030
"jackalope/jackalope-doctrine-dbal": "^1.4 || ^2.0",
3131
"symfony/monolog-bundle": "^3.0",
3232
"symfony/phpunit-bridge": "^7.0.6",

0 commit comments

Comments
 (0)