Skip to content

Commit e686d95

Browse files
committed
ci - symfony matrix 6.4 and 7.3
1 parent cf9208e commit e686d95

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
matrix:
1414
os: [ ubuntu-latest, windows-latest, macos-latest ]
1515
php: [ '8.1', '8.2', '8.3', '8.4' ]
16+
symfony: [ '^6.4', '^7.3' ]
1617

1718
steps:
1819
- uses: actions/checkout@v2
@@ -25,5 +26,13 @@ jobs:
2526
- name: Install dependencies
2627
run: composer install --prefer-dist --no-progress
2728

29+
- name: Override symfony version
30+
run: |
31+
composer require symfony/http-client:"${{ matrix.symfony }}" --dev --no-update
32+
composer update symfony/http-client --prefer-dist --no-progress
33+
34+
composer require symfony/process:"${{ matrix.symfony }}" --dev --no-update
35+
composer update symfony/process --prefer-dist --no-progress
36+
2837
- name: Run PHPUnit
2938
run: composer test

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"ext-curl": "*",
3737
"ext-json": "*",
3838
"phpunit/phpunit": "^10.5 || ^11.5 || ^12.4",
39-
"symfony/http-client": "^6.1",
40-
"symfony/process": "^6.1",
39+
"symfony/http-client": "^6.4 || ^7.3",
40+
"symfony/process": "^6.4 || ^7.3",
4141
"amphp/http-client": "^4.2.1"
4242
},
4343
"suggest": {

0 commit comments

Comments
 (0)