Merged in bugfix/KR-13394 (pull request #8574)

KR-13394
This commit is contained in:
Paula Quispe
2022-09-16 19:04:45 +00:00
2 changed files with 2 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ jobs:
- image: devopsstacks/pm:n285-phpunit
- image: circleci/mysql:8.0.13-ram
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:
MYSQL_HOST: 127.0.0.1
MYSQL_ROOT_PASSWORD: 'password'
@@ -28,7 +28,7 @@ jobs:
name: Run Test Units
command: |
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:
path: coverage
destination: coverage

View File

@@ -25,22 +25,6 @@
</testsuite>
</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>
<!--Main environment-->
<env name="MAIN_SYS_SYS" value="workflow" />