Merge pull request #22167 from nextcloud/debt/noid/coverage-filter

Exclude apps/*/tests for coverage calculation
This commit is contained in:
Morris Jobke 2020-08-11 09:43:19 +02:00 committed by GitHub
commit 21e0523c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 23 deletions

View File

@ -8,8 +8,7 @@
>
<testsuite name='ownCloud'>
<directory suffix='.php'>lib/</directory>
<directory suffix='.php'>Settings/</directory>
<directory suffix='.php'>Core/</directory>
<directory suffix='.php'>core/</directory>
<directory suffix='.php'>ocs-provider/</directory>
<file>apps.php</file>
</testsuite>
@ -20,29 +19,12 @@
<directory suffix=".php">..</directory>
<exclude>
<directory suffix=".php">../3rdparty</directory>
<directory suffix=".php">../apps/admin_audit/tests</directory>
<directory suffix=".php">../apps/dav/tests</directory>
<directory suffix=".php">../apps/encryption/tests</directory>
<directory suffix=".php">../apps/federatedfilesharing/tests</directory>
<directory suffix=".php">../apps/federation/tests</directory>
<directory suffix=".php">../apps/files/tests</directory>
<directory suffix=".php">../apps/files_external</directory>
<directory suffix=".php">../apps/files_sharing/tests</directory>
<directory suffix=".php">../apps/files_trashbin/tests</directory>
<directory suffix=".php">../apps/files_versions/tests</directory>
<directory suffix=".php">../apps/oauth2/tests</directory>
<directory suffix=".php">../apps/provisioning_api/tests</directory>
<directory suffix=".php">../apps/systemtags/tests</directory>
<directory suffix=".php">../apps/theming/tests</directory>
<directory suffix=".php">../apps/settings/tests</directory>
<directory suffix=".php">../apps/twofactor_backupcodes/tests</directory>
<directory suffix=".php">../apps/updatenotification/tests</directory>
<directory suffix=".php">../apps/user_ldap/tests</directory>
<directory suffix=".php">../apps/workflowengine/tests</directory>
<directory suffix=".php">../tests</directory>
<directory suffix=".php">../apps/*/composer</directory>
<directory suffix=".php">../apps/*/tests</directory>
<directory suffix=".php">../apps/files_external/3rdparty</directory>
<directory suffix=".php">../build</directory>
<directory suffix=".php">../lib/composer</directory>
<directory suffix=".php">../apps/*/composer</directory>
<directory suffix=".php">../tests</directory>
</exclude>
</whitelist>
</filter>