Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ffc59d

Browse files
committedJan 9, 2025··
ci: bump versions
1 parent 1fb612b commit 6ffc59d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
 

‎.github/workflows/ci.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
- name: Setup PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.3'
34+
php-version: '8.4'
3535
tools: phpstan,flex
3636
extensions: zip
3737

3838
- name: Install dependencies
3939
uses: ramsey/composer-install@v3
4040
env:
41-
SYMFONY_REQUIRE: 7.0.*
41+
SYMFONY_REQUIRE: ^7
4242

4343
- name: Install PHPUnit dependencies
4444
run: vendor/bin/simple-phpunit --version
@@ -97,15 +97,15 @@ jobs:
9797

9898
phpunit-lowest:
9999
runs-on: ubuntu-latest
100-
name: PHP 8.3 (lowest) Test on ubuntu-latest
100+
name: PHP 8.4 (lowest) Test on ubuntu-latest
101101
steps:
102102
- name: Checkout
103103
uses: actions/checkout@v4
104104

105105
- name: Setup PHP
106106
uses: shivammathur/setup-php@v2
107107
with:
108-
php-version: '8.3'
108+
php-version: '8.4'
109109
extensions: zip
110110

111111
- name: Install dependencies
@@ -120,7 +120,7 @@ jobs:
120120

121121
phpunit-windows:
122122
runs-on: windows-latest
123-
name: PHP 8.3 Test on windows-latest
123+
name: PHP 8.4 Test on windows-latest
124124
env:
125125
PANTHER_FIREFOX_BINARY: 'C:\Program Files\Mozilla Firefox\firefox.exe'
126126
SKIP_FIREFOX: 1
@@ -131,7 +131,7 @@ jobs:
131131
- name: Setup PHP
132132
uses: shivammathur/setup-php@v2
133133
with:
134-
php-version: '8.3'
134+
php-version: '8.4'
135135
extensions: zip
136136

137137
- name: Install dependencies
@@ -142,15 +142,15 @@ jobs:
142142

143143
phpunit-macos:
144144
runs-on: macos-latest
145-
name: PHP 8.3 Test on macos-latest
145+
name: PHP 8.4 Test on macos-latest
146146
steps:
147147
- name: Checkout
148148
uses: actions/checkout@v4
149149

150150
- name: Setup PHP
151151
uses: shivammathur/setup-php@v2
152152
with:
153-
php-version: '8.3'
153+
php-version: '8.4'
154154
extensions: zip
155155

156156
- name: Install Firefox
@@ -171,7 +171,7 @@ jobs:
171171
matrix:
172172
php-versions: [ '8.1', '8.2', '8.3', '8.4']
173173
fail-fast: false
174-
name: PHP ${{ matrix.php-versions }} (phpunit 10) Test on ubuntu-latest
174+
name: PHP ${{ matrix.php-versions }} (PHPUnit 11) Test on ubuntu-latest
175175
steps:
176176
- name: Checkout
177177
uses: actions/checkout@v4
@@ -187,11 +187,11 @@ jobs:
187187
with:
188188
composer-options: "--prefer-dist"
189189

190-
- name: Remove phpunit-bridge dependency (not yet phpunit 10 compliant)
190+
- name: Remove phpunit-bridge dependency (not yet PHPUnit 10+ compliant)
191191
run: composer remove --dev symfony/phpunit-bridge
192192

193-
- name: Install latest phpunit 10
194-
run: composer require --dev --prefer-dist phpunit/phpunit:^10.0
193+
- name: Install latest PHPUnit 11
194+
run: composer require --dev --prefer-dist 'phpunit/phpunit:>=10'
195195

196196
- name: Run tests
197197
run: vendor/bin/phpunit --configuration phpunit.xml.dist.10

‎phpunit.xml.dist.10

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<php>
2323
<env name="KERNEL_CLASS" value="Symfony\Component\Panther\Tests\DummyKernel"/>
2424
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0"/>
25-
<server name="SYMFONY_PHPUNIT_VERSION" value="10.0"/>
25+
<server name="SYMFONY_PHPUNIT_VERSION" value=">=10"/>
2626
</php>
2727

2828
<testsuites>

0 commit comments

Comments
 (0)
Please sign in to comment.