-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
while executing test case it should not initiate redis as enviromet not need redis and with ladacache it force user to add redis in testing environment (CICD)
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="LADACACHE_ENABLED" value="false"/>
<env name="LOG_CHANNEL" value="single"/>
<env name="BUGSNAG_API_KEY" value=""/>
</php>
</phpunit>
it cost more in pipline to setup redis instance which not usefull application at all. it's tiny change but my contribute to reduce carbon emissions 🌳🌳
suggest me your opinion. @spiritix
Metadata
Metadata
Assignees
Labels
No labels