mirror of
https://github.com/predis/predis.git
synced 2026-08-18 18:42:36 +00:00
9a22450a65
* Added testing with 8.0 * Removed old service * Moved checkout stage above image * Changed service name * Override config options for Redis < 7 * Exported to github env * Print major version output * Added double quotes * Test fixes * Merge cluster and standalone infrastructure * Removed separate cluster job and merge together with standalone * Merge stack tests into main test job * Fixed annotation condition * tweaks * Moved docker-compose.yml to root folder * Added compose file to expected * fixed in v0.10.1 * move docker file * Added -all profile in docker-compose * Removed redis official image, reduce test matrix, moved docker-compose.yml * Revert docker-compose moving * test php 8.0 and redis 4.0 * Revert changes related to official image --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
50 lines
1.4 KiB
XML
50 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit
|
|
bootstrap="tests/bootstrap.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnError="false"
|
|
stopOnFailure="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
>
|
|
|
|
<testsuites>
|
|
<testsuite name="Predis Test Suite">
|
|
<directory phpVersion="7.4">tests/Predis/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<groups>
|
|
<exclude>
|
|
<group>relay-incompatible</group>
|
|
<group>relay-resp3</group>
|
|
<group>realm-webdis</group>
|
|
<group>realm-stack</group>
|
|
<group>ext-curl</group>
|
|
<group>ext-phpiredis</group>
|
|
<group>cluster</group>
|
|
</exclude>
|
|
</groups>
|
|
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">src/</directory>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<php>
|
|
<const name="REDIS_SERVER_HOST" value="127.0.0.1" />
|
|
<const name="REDIS_SERVER_PORT" value="6379" />
|
|
<const name="REDIS_STACK_SERVER_PORT" value="6479" />
|
|
<const name="REDIS_SERVER_DBNUM" value="0" />
|
|
<env name="USE_RELAY" value="true" />
|
|
|
|
<!-- Redis Cluster -->
|
|
<!-- Only master nodes endpoints included -->
|
|
<const name="REDIS_CLUSTER_ENDPOINTS" value="127.0.0.1:6372,127.0.0.1:6373,127.0.0.1:6374" />
|
|
</php>
|
|
</phpunit>
|