Skip to content

Commit

Permalink
[#1284] Excluded test files from the coverage report.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Apr 29, 2024
1 parent 9361fcc commit d77618c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@
<directory>web/sites/default/settings.php</directory>
</include>

<exclude>
<directory>web/modules/custom/*/tests</directory>
<directory>web/themes/custom/*/tests</directory>
</exclude>

<report>
<html outputDirectory=".logs/coverage/phpunit/.coverage-html" lowUpperBound="50" highLowerBound="90"/>
<cobertura outputFile=".logs/coverage/phpunit/cobertura.xml"/>
Expand Down

1 comment on commit d77618c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.