Skip to content

Commit

Permalink
#21 Update PHPUnit config description
Browse files Browse the repository at this point in the history
  • Loading branch information
1stthomas committed Dec 3, 2024
1 parent 642203b commit 3bdd428
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ Basic configuration for the checkout action works like this:
IMPORTANT: v1.0.0 currently has NO support for a custom checkout path.

You can automatically generate a clover report file with every PHPUnit run by adding the following configuration to your phpunit.xml file:
```
<coverage cacheDirectory=".phpunit.cache/code-coverage" processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="clover.xml" />
</report>
</coverage>
```xml
<coverage>
<report>
<clover outputFile="clover.xml" />
</report>
</coverage>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
```

# Recommended configuration
Expand Down

0 comments on commit 3bdd428

Please sign in to comment.