Skip to content

Commit a40b5d6

Browse files
committed
Update PHPUnit to 9.6 in CI
1 parent dbb6bea commit a40b5d6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/static-analysis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
if: matrix.php-version == '7.2'
7171
run: "composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 composer/semver:^1.2 --update-with-dependencies --ignore-platform-reqs"
7272

73+
- name: "Update PHPUnit"
74+
if: matrix.php-version != '7.2' && matrix.php-version != '7.3'
75+
run: "composer update phpunit/phpunit -W"
76+
7377
- name: "PHPStan"
7478
run: "make phpstan"
7579

@@ -103,6 +107,9 @@ jobs:
103107
- name: "Install dependencies"
104108
run: "composer install --no-interaction --no-progress"
105109

110+
- name: "Update PHPUnit"
111+
run: "composer update phpunit/phpunit -W"
112+
106113
- name: "Cache Result cache"
107114
uses: actions/cache@v4
108115
with:

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ jobs:
6666
shell: bash
6767
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
6868

69+
- name: "Update PHPUnit"
70+
if: matrix.php-version != '7.3'
71+
run: "composer update phpunit/phpunit -W"
72+
6973
- name: "Tests"
7074
run: "make tests"
7175

0 commit comments

Comments
 (0)