1
0
Fork 0

Make sure php8 runs tests, and that 7.3 runs complete test suite

pull/8880/head
Jordi Boggiano 2020-05-06 13:23:38 +02:00
parent b7dd5b0680
commit 4b1e386fff
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 15 additions and 4 deletions

View File

@ -114,9 +114,13 @@ jobs:
run: "echo \"::set-env name=SYMFONY_PHPUNIT_VERSION::7.5\""
- name: "Run tests"
if: "matrix.php-version != '8.0'"
if: "matrix.php-version != '8.0' && matrix.php-version != '7.3'"
run: "vendor/bin/simple-phpunit"
- name: "Run Complete test suite"
if: "matrix.php-version == '7.3'"
run: "vendor/bin/simple-phpunit --configuration tests/complete.phpunit.xml"
- name: "Run tests for PHP 8"
if: "matrix.php-version == '8.0'"
run: "bin/composer remove --dev symfony/phpunit-bridge --ignore-platform-reqs && bin/composer require phpunit/phpunit:^7.5 --ignore-platform-reqs"
run: "bin/composer remove --dev symfony/phpunit-bridge --ignore-platform-reqs && bin/composer require phpunit/phpunit:^7.5 --ignore-platform-reqs && vendor/bin/phpunit"

View File

@ -1,16 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.7/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
strict="false"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./bootstrap.php"
>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php>
<testsuites>
<testsuite name="Full Composer Test Suite">
<directory>./Composer/</directory>