Skip to content

Commit de3a274

Browse files
committed
chore: code coverage
1 parent dd54496 commit de3a274

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
composer self-update
2727
composer install --prefer-source --no-interaction
2828
- name: Run PHPUnit
29-
run: vendor/bin/phpunit
29+
run: vendor/bin/phpunit --coverage-text

phpunit.xml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
bootstrap="vendor/autoload.php"
4+
colors="true"
5+
processIsolation="false"
6+
stopOnFailure="false"
7+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd">
38
<coverage>
9+
<report>
10+
<clover outputFile="build/logs/clover.xml"/>
11+
<html outputDirectory="build/coverage"/>
12+
<text outputFile="build/logs/coverage.txt"/>
13+
</report>
414
<include>
5-
<directory suffix=".php">./src/</directory>
15+
<directory suffix=".php">./src</directory>
616
</include>
717
<exclude>
818
<directory>./vendor</directory>
919
<directory>./tests</directory>
1020
</exclude>
11-
<report>
12-
<clover outputFile="build/logs/clover.xml"/>
13-
<html outputDirectory="build/coverage"/>
14-
<text outputFile="build/logs/coverage.txt"/>
15-
</report>
1621
</coverage>
1722
<testsuites>
1823
<testsuite name="Application Test Suite">

0 commit comments

Comments
 (0)