Make sure php8 runs tests, and that 7.3 runs complete test suite
parent
b7dd5b0680
commit
4b1e386fff
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue