Skip to content

Commit 5799502

Browse files
committed
Add job with PHPUnit 12 to CI
1 parent 1a8a3d9 commit 5799502

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575
description: 'on Windows'
7676
php-version: '8.4'
7777
FAST_LINT_TEST_CASES: 1
78+
- os: ubuntu-latest
79+
description: 'with PHPUnit 12'
80+
php-version: '8.4'
81+
install-phpunit-12: true
7882
- os: ubuntu-latest
7983
php-version: '8.5'
8084
runs-on: ${{ matrix.os }}
@@ -116,6 +120,11 @@ jobs:
116120
- if: ${{ matrix.calculate-coverage }}
117121
run: composer require --dev php-coveralls/php-coveralls --no-update
118122

123+
- if: matrix.install-phpunit-12
124+
run: |
125+
composer require --dev --with-all-dependencies friendsofphp/php-cs-fixer:dev-master phpunit/phpunit:^12.0.2
126+
php php-cs-fixer fix --quiet --rules=php_unit_attributes
127+
119128
- run: composer update --no-progress --classmap-authoritative ${{ matrix.composer-flags }}
120129

121130
- run: composer show | grep php-cs-fixer

0 commit comments

Comments
 (0)