KR-13394
This commit is contained in:
@@ -6,7 +6,7 @@ jobs:
|
|||||||
- image: devopsstacks/pm:n285-phpunit
|
- image: devopsstacks/pm:n285-phpunit
|
||||||
- image: circleci/mysql:8.0.13-ram
|
- image: circleci/mysql:8.0.13-ram
|
||||||
command: |
|
command: |
|
||||||
mysqld --default-authentication-plugin='mysql_native_password' --optimizer-switch='derived_merge=off' --sql-mode='NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' --collation-server='utf8mb4_unicode_ci' --character-set-server='utf8mb4'
|
mysqld --default-authentication-plugin='mysql_native_password' --optimizer-switch='derived_merge=off' --sql-mode='NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' --collation-server='utf8mb4_unicode_ci' --character-set-server='utf8mb4' --max_connections=500
|
||||||
environment:
|
environment:
|
||||||
MYSQL_HOST: 127.0.0.1
|
MYSQL_HOST: 127.0.0.1
|
||||||
MYSQL_ROOT_PASSWORD: 'password'
|
MYSQL_ROOT_PASSWORD: 'password'
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
name: Run Test Units
|
name: Run Test Units
|
||||||
command: |
|
command: |
|
||||||
mkdir -p coverage
|
mkdir -p coverage
|
||||||
vendor/phpunit/phpunit/phpunit --stop-on-error --testdox-html coverage/result.html --coverage-html coverage --verbose tests/unit/
|
XDEBUG_MODE=coverage vendor/phpunit/phpunit/phpunit --stop-on-error --testdox-html coverage/result.html --coverage-html coverage --verbose tests/unit/
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: coverage
|
path: coverage
|
||||||
destination: coverage
|
destination: coverage
|
||||||
|
|||||||
16
phpunit.xml
16
phpunit.xml
@@ -25,22 +25,6 @@
|
|||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
<filter>
|
|
||||||
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="false">
|
|
||||||
<directory suffix=".php">./gulliver</directory>
|
|
||||||
<directory suffix=".php">./workflow/engine/classes</directory>
|
|
||||||
<directory suffix=".php">./workflow/engine/src</directory>
|
|
||||||
<directory suffix=".php">./workflow/engine/methods/emailServer/</directory>
|
|
||||||
<directory suffix=".php">./workflow/engine/controllers</directory>
|
|
||||||
</whitelist>
|
|
||||||
<exclude>
|
|
||||||
<directory>./workflow/engine/classes/model/map</directory>
|
|
||||||
<directory>./workflow/engine/classes/model/om</directory>
|
|
||||||
<directory>./workflow/engine/src/Tests</directory>
|
|
||||||
<directory>./workflow/public_html</directory>
|
|
||||||
</exclude>
|
|
||||||
</filter>
|
|
||||||
|
|
||||||
<php>
|
<php>
|
||||||
<!--Main environment-->
|
<!--Main environment-->
|
||||||
<env name="MAIN_SYS_SYS" value="workflow" />
|
<env name="MAIN_SYS_SYS" value="workflow" />
|
||||||
|
|||||||
Reference in New Issue
Block a user