Commit 049d790e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

gitlab-ci: test phpunit coverage

parent c6658c2d
Loading
Loading
Loading
Loading
+1 −1
Changes for .gitlab-ci.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ unit-tests:
  script:
    - echo 'zend_extension=xdebug.so' > /etc/php/7.0/cli/conf.d/xdebug.ini
    - composer install --no-interaction --no-suggest --no-progress
    - php vendor/bin/phpunit --testsuite "unit" --filter 'ModuleOptions' --coverage-html coverage/
    - php vendor/bin/phpunit --testsuite "unit" --filter 'ModuleOptions'
  artifacts:
    paths:
      - coverage/
+5
Changes for phpunit.xml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html" target="coverage/" lowUpperBound="35" highLowerBound="70"/>
        <log type="coverage-text" target="coverage/coverage.txt" showUncoveredFiles="false"/>
    </logging>

    <!--<php>-->
        <!--&lt;!&ndash; Integration Test Variables &ndash;&gt;-->
        <!--<const name="HOST" value="localhost"/>-->