Skip to content

Commit 9e226cf

Browse files
committed
Add Symfony 7 to CI
1 parent 93ec568 commit 9e226cf

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- "^9.2.16"
2727

2828
symfony-version:
29+
- "^7.0"
2930
- "^6.0"
3031
- "^5.0"
3132

@@ -40,6 +41,12 @@ jobs:
4041
- "pcov"
4142

4243
exclude:
44+
- php-version: "8.1"
45+
symfony-version: "^7.0"
46+
- php-version: "8.0"
47+
symfony-version: "^7.0"
48+
- php-version: "7.4"
49+
symfony-version: "^7.0"
4350
- php-version: "7.4"
4451
symfony-version: "^6.0"
4552
- php-version: "8.0"
@@ -103,7 +110,7 @@ jobs:
103110
run: composer require --no-update "phpunit/php-code-coverage:${{ matrix.php-code-coverage-version }}"
104111

105112
- name: Remove PHP-CS-Fixer if not called
106-
if: matrix.php-version != '8.1' || matrix.symfony-version != '^5.0' || matrix.dependencies != 'highest'
113+
if: matrix.php-version != '8.2' || matrix.symfony-version != '^6.0' || matrix.dependencies != 'highest'
107114
run: composer remove --dev --no-update "friendsofphp/php-cs-fixer";
108115

109116
- name: Install dependencies (low)
@@ -141,19 +148,19 @@ jobs:
141148
else
142149
php -dmemory_limit=-1 vendor/phpunit/phpunit/phpunit --coverage-clover=build/coverage-phpunit/clover.xml;
143150
fi;
144-
if [ "${{ matrix.php-version }}" = "8.1" ] && [ "${{ matrix.driver }}" != "none" ]; then
151+
if [ "${{ matrix.php-version }}" = "8.2" ] && [ "${{ matrix.driver }}" != "none" ]; then
145152
composer global require scrutinizer/ocular;
146153
~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage-phpunit/clover.xml;
147154
fi;
148155
149156
- name: Behat
150157
run: |
151158
php -dmemory_limit=-1 vendor/behat/behat/bin/behat --strict;
152-
if [ "${{ matrix.php-version }}" = "8.1" ] && [ "${{ matrix.driver }}" != "none" ]; then
159+
if [ "${{ matrix.php-version }}" = "8.2" ] && [ "${{ matrix.driver }}" != "none" ]; then
153160
composer global require scrutinizer/ocular;
154161
~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage-behat/clover.xml;
155162
fi;
156163
157164
- name: Check code style
158-
if: matrix.php-version == '8.1' && matrix.symfony-version == '^5.0' && matrix.dependencies == 'highest'
165+
if: matrix.php-version == '8.2' && matrix.symfony-version == '^6.0' && matrix.dependencies == 'highest'
159166
run: vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --allow-risky=yes

0 commit comments

Comments
 (0)