File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,21 @@ concurrency:
1616jobs :
1717 tests :
1818 runs-on : " ubuntu-latest"
19- name : " Tests with PHP ${{ matrix.php }}"
19+ name : " Tests with PHP ${{ matrix.php }} and Symfony ${{ matrix.symfony }} "
2020 strategy :
2121 fail-fast : true
2222 matrix :
2323 php :
2424 - " 8.1"
2525 - " 8.2"
2626 - " 8.3"
27+ symfony :
28+ - " unchanged"
29+ - " 6.*.*"
30+ - " 7.*.*"
31+ exclude :
32+ - php : " 8.1"
33+ symfony : " 7.*.*"
2734
2835 steps :
2936 - name : " Check out repository code"
3340 uses : " shivammathur/setup-php@v2"
3441 with :
3542 php-version : " ${{ matrix.php }}"
36- tools : " composer"
43+ tools : " composer, flex"
44+
45+ - name : " Configure Symfony version"
46+ if : " matrix.symfony != 'unchanged'"
47+ run : " echo \" SYMFONY_REQUIRE=${{ matrix.symfony }}\" >> $GITHUB_ENV"
3748
3849 - name : " Install Composer dependencies"
3950 uses : " ramsey/composer-install@v2"
Original file line number Diff line number Diff line change 1414 ],
1515 "require" : {
1616 "php" : " ^8.1" ,
17- "symfony/filesystem" : " ^6.3" ,
17+ "symfony/filesystem" : " ^6.3 || ^7.0 " ,
1818 "thecodingmachine/safe" : " ^2.0"
1919 },
2020 "require-dev" : {
2121 "bamarni/composer-bin-plugin" : " ^1.4" ,
2222 "ergebnis/composer-normalize" : " ^2.28" ,
2323 "infection/infection" : " >=0.26" ,
2424 "phpunit/phpunit" : " ^10.3" ,
25- "symfony/finder" : " ^6.3"
25+ "symfony/finder" : " ^6.3 || ^7.0 "
2626 },
2727 "prefer-stable" : true ,
2828 "autoload" : {
You can’t perform that action at this time.
0 commit comments