Skip to content

Commit de2ac28

Browse files
committed
Install PHPUnit 9 for Symfony 4.4, 5.4 and 6.0
1 parent 6bf04ab commit de2ac28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
8080
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
8181

82+
- name: Install PHPUnit 9 for Symfony 4.4, 5.4 and 6.0
83+
if: "matrix.symfony == '4.4.*' || matrix.symfony == '5.4.*' || matrix.symfony == '6.0.*'"
84+
run: composer require --dev --no-update "phpunit/phpunit=^9.0"
85+
8286
- name: Install dependencies
8387
run: |
8488
composer require symfony/finder=${{ matrix.symfony }} --no-update
@@ -97,7 +101,7 @@ jobs:
97101
run: composer validate
98102
working-directory: framework-tests
99103

100-
- name: Install PHPUnit 10 for Symfony 6.1 and 6.2
104+
- name: Install PHPUnit 10 in framework-tests for Symfony 6.1 and 6.2
101105
if: "matrix.symfony == '6.1.*' || matrix.symfony == '6.2.*'"
102106
run: composer require --dev --no-update "phpunit/phpunit=^10.0"
103107
working-directory: framework-tests

0 commit comments

Comments
 (0)