Skip to content

Commit 65033b0

Browse files
committed
2.x | GH Actions: remove the trial run against PHPUnit 11
The 3.x series will support PHPUnit 11. This no longer needs to be tested on the 2.x branch.
1 parent 0faa897 commit 65033b0

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/test.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ jobs:
9999
coverage: false
100100
experimental: true
101101

102-
- php: '8.3'
103-
phpunit: 'dev-main' # PHPUnit 11.x
104-
coverage: false
105-
experimental: true
106-
107102
name: "Tests: PHP ${{ matrix.php }} - PHPUnit: ${{matrix.phpunit}}"
108103

109104
continue-on-error: ${{ matrix.experimental }}
@@ -162,10 +157,7 @@ jobs:
162157
- name: Determine PHPUnit config
163158
id: phpunit_config
164159
run: |
165-
if [ "${{ matrix.phpunit == 'dev-main' }}" == "true" ]; then
166-
echo 'FILE=phpunit10.xml.dist' >> $GITHUB_OUTPUT
167-
echo 'NEEDS_MIGRATION=true' >> $GITHUB_OUTPUT
168-
elif [ "${{ steps.phpunit_version.outputs.VERSION }}" == "10.0" ]; then
160+
if [ "${{ steps.phpunit_version.outputs.VERSION }}" == "10.0" ]; then
169161
echo 'FILE=phpunit10.xml.dist' >> $GITHUB_OUTPUT
170162
elif [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}" == "true" ]; then
171163
echo 'FILE=phpunit10.xml.dist' >> $GITHUB_OUTPUT
@@ -182,8 +174,6 @@ jobs:
182174
run: vendor/bin/phpunit -c ${{ steps.phpunit_config.outputs.FILE }} --migrate-configuration
183175

184176
- name: "Run the unit tests"
185-
# Don't fail the build on a test run failure against a future PHPUnit version.
186-
continue-on-error: ${{ matrix.phpunit == 'dev-main' }}
187177
run: >
188178
vendor/bin/phpunit -c ${{ steps.phpunit_config.outputs.FILE }}
189179
${{ ! matrix.coverage && '--no-coverage' || '' }}

0 commit comments

Comments
 (0)