ci: create deploy wokflow (#5090)

This commit is contained in:
Alexis Saettler
2021-04-24 13:09:17 +02:00
committed by GitHub
parent f808704032
commit 45b02da4a0
17 changed files with 437 additions and 130 deletions
+57 -57
View File
@@ -1,65 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Api">
<directory suffix="Test.php">./tests/Api</directory>
</testsuite>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<file>./app/Http/routes.php</file>
</exclude>
</coverage>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Commands</directory>
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuites>
<testsuite name="Api">
<directory suffix="Test.php">./tests/Api</directory>
</testsuite>
<testsuite name="Unit-Models">
<directory suffix="Test.php">./tests/Unit/Controllers</directory>
<directory suffix="Test.php">./tests/Unit/Events</directory>
<directory suffix="Test.php">./tests/Unit/Helpers</directory>
<directory suffix="Test.php">./tests/Unit/Models</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Commands</directory>
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Unit-Services">
<directory suffix="Test.php">./tests/Unit/Services</directory>
<directory suffix="Test.php">./tests/Unit/Traits</directory>
<directory suffix="Test.php">./tests/Unit/Jobs</directory>
</testsuite>
</testsuites>
<testsuite name="Unit-Models">
<directory suffix="Test.php">./tests/Unit/Controllers</directory>
<directory suffix="Test.php">./tests/Unit/Events</directory>
<directory suffix="Test.php">./tests/Unit/Helpers</directory>
<directory suffix="Test.php">./tests/Unit/Models</directory>
</testsuite>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
<exclude>
<file>./app/Http/routes.php</file>
</exclude>
</whitelist>
</filter>
<testsuite name="Unit-Services">
<directory suffix="Test.php">./tests/Unit/Services</directory>
<directory suffix="Test.php">./tests/Unit/Traits</directory>
<directory suffix="Test.php">./tests/Unit/Jobs</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:NTrXToqFZJlv48dgPc+kNpc3SBt333TfDnF1mDShsBg="/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="DEBUGBAR_ENABLED" value="false"/>
<env name="APP_DEFAULT_LOCALE" value="en"/>
<env name="LOG_CHANNEL" value="testing"/>
<env name="DAV_ENABLED" value="true"/>
<env name="REQUIRES_SUBSCRIPTION" value="false"/>
<env name="MAIL_HOST" value=""/>
<env name="MAIL_PORT" value=""/>
<env name="MAIL_ENCRYPTION" value=""/>
<env name="APP_EMAIL_NEW_USERS_NOTIFICATION" value=""/>
</php>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:NTrXToqFZJlv48dgPc+kNpc3SBt333TfDnF1mDShsBg="/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="DEBUGBAR_ENABLED" value="false"/>
<env name="APP_DEFAULT_LOCALE" value="en"/>
<env name="LOG_CHANNEL" value="testing"/>
<env name="DAV_ENABLED" value="true"/>
<env name="REQUIRES_SUBSCRIPTION" value="false"/>
<env name="MAIL_HOST" value=""/>
<env name="MAIL_PORT" value=""/>
<env name="MAIL_ENCRYPTION" value=""/>
<env name="APP_EMAIL_NEW_USERS_NOTIFICATION" value=""/>
</php>
</phpunit>