Skip to content

Commit 7e30db2

Browse files
committed
Add PHPUnit 6.5.x for PHP < 7.2
1 parent 65c5e6f commit 7e30db2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-test-measure.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,10 @@ jobs:
532532
- name: Update PHPUnit
533533
if: needs.pre-run.outputs.changed-php-count > 0
534534
run: |
535-
if [[ $PHP_VERSION == "7.1" ]]; then
535+
if [[ $PHP_VERSION == "7.0" ]]; then
536+
echo "Installing PHPUnit 6.5.x"
537+
composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^6.5 --with-dependencies
538+
elif [[ $PHP_VERSION == "7.1" ]]; then
536539
echo "Installing PHPUnit 7.5.x"
537540
composer require --ignore-platform-reqs --no-interaction --no-scripts phpunit/phpunit:^7.5 --with-dependencies
538541
elif [[ $PHP_VERSION == "7.2" ]]; then

0 commit comments

Comments
 (0)