Skip to content

Commit eeae89a

Browse files
committed
Check for a wider range of dependencies in CI
1 parent bffb6ad commit eeae89a

3 files changed

Lines changed: 18 additions & 8 deletions

File tree

.allowed-licenses

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
- Artistic-1.0
22
- BSD-3-Clause
3+
- New BSD
34
- ISC
45
- MIT
56
- MPL-2.0

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
strategy:
1212
matrix:
1313
operating-system: ['ubuntu-latest']
14+
dependencies: ['lowest', 'highest']
15+
symfony: ['^6.4', '^7.1']
1416
php-versions: ['8.2', '8.3', '8.4']
1517

1618
steps:
@@ -26,7 +28,11 @@ jobs:
2628
extensions: bcmath, gd
2729

2830
- name: Install Composer dependencies
29-
run: composer install
31+
uses: "ramsey/composer-install@v3"
32+
env:
33+
SYMFONY_REQUIRE: "${{ matrix.symfony }}"
34+
with:
35+
dependency-versions: "${{ matrix.dependencies }}"
3036

3137
- name: Composer license check
3238
run: composer check-license

composer.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,23 @@
1919
"captainhook/plugin-composer": "^5.3",
2020
"madewithlove/license-checker": "^1.6",
2121
"phpstan/extension-installer": "^1.4",
22+
"phpstan/phpdoc-parser": "^2.1.0",
2223
"phpstan/phpstan": "^2.0",
2324
"phpstan/phpstan-doctrine": "^2.0",
2425
"phpstan/phpstan-strict-rules": "^2.0",
2526
"phpstan/phpstan-webmozart-assert": "^2.0",
2627
"phpunit/phpunit": "^11.5",
2728
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
28-
"sylius-labs/coding-standard": "^4.2",
29+
"slevomat/coding-standard": "^8.16.0",
30+
"sylius-labs/coding-standard": "^4.4",
2931
"sylius/test-application": "2.1.x-dev",
30-
"symfony/browser-kit": "^7.0",
31-
"symfony/debug-bundle": "^7.0",
32-
"symfony/dotenv": "^7.0",
32+
"symfony/browser-kit": "^6.4 || ^7.1",
33+
"symfony/debug-bundle": "^6.4 || ^7.1",
34+
"symfony/dotenv": "^6.4 || ^7.1",
3335
"symfony/flex": "^2.2.2",
34-
"symfony/intl": "^7.0",
35-
"symfony/web-profiler-bundle": "^7.0"
36+
"symfony/intl": "^6.4 || ^7.1",
37+
"symfony/web-profiler-bundle": "^6.4 || ^7.1",
38+
"symplify/easy-coding-standard": "^12.5"
3639
},
3740
"config": {
3841
"sort-packages": true,
@@ -47,7 +50,7 @@
4750
},
4851
"extra": {
4952
"symfony": {
50-
"require": "^7.0"
53+
"require": "^6.4 || ^7.1"
5154
},
5255
"public-dir": "vendor/sylius/test-application/public"
5356
},

0 commit comments

Comments
 (0)