run tests against doctrine/persistence 2.1

This commit is contained in:
Christian Flothmann 2021-04-25 19:22:30 +02:00
parent ef17a59096
commit c8916f20b3

View File

@ -281,6 +281,7 @@ install:
elif [[ $deps = low ]]; then
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
else
composer require --no-update doctrine/persistence:2.1.*
if [[ $PHP = 8.0* ]]; then
# add return types before running the test suite
sed -i 's/"\*\*\/Tests\/"//' composer.json