Skip to content

Commit c3655c2

Browse files
Ace Nassribshaffer
authored andcommitted
Exclude vendor dir from code coverage (GoogleCloudPlatform#1002)
1 parent 942b532 commit c3655c2

File tree

91 files changed

+371
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+371
-3
lines changed

appengine/flexible/analytics/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<filter>
3030
<whitelist>
3131
<file>app.php</file>
32+
<exclude>
33+
<directory>./vendor</directory>
34+
</exclude>
3235
</whitelist>
3336
</filter>
3437
</phpunit>

appengine/flexible/cloudsql-mysql/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.php</file>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

appengine/flexible/cloudsql-postgres/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.php</file>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

appengine/flexible/datastore/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.php</file>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

appengine/flexible/drupal8/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>test</directory>
2121
</testsuite>
2222
</testsuites>
23+
<filter>
24+
<whitelist>
25+
<directory suffix=".php">./web</directory>
26+
<exclude>
27+
<directory>./vendor</directory>
28+
</exclude>
29+
</whitelist>
30+
</filter>
2331
</phpunit>

appengine/flexible/helloworld/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
</logging>
2626
<filter>
2727
<whitelist>
28-
<directory suffix=".php">./web</directory>
28+
<directory suffix=".php">./web</directory>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

appengine/flexible/laravel/phpunit.xml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@
2020
<directory>test</directory>
2121
</testsuite>
2222
</testsuites>
23+
<filter>
24+
<whitelist>
25+
<directory suffix=".php">./src</directory>
26+
<exclude>
27+
<directory>./vendor</directory>
28+
</exclude>
29+
</whitelist>
30+
</filter>
2331
</phpunit>

appengine/flexible/logging/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.php</file>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

appengine/flexible/mailgun/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.php</file>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

appengine/flexible/mailjet/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<filter>
2727
<whitelist>
2828
<file>app.php</file>
29+
<exclude>
30+
<directory>./vendor</directory>
31+
</exclude>
2932
</whitelist>
3033
</filter>
3134
</phpunit>

0 commit comments

Comments
 (0)