Skip to content

Commit 193da38

Browse files
committed
Codacy Integration: Ensure phpunit calls are generating coverage-xml
-Ensure phpunit calls are generating coverage-xml -ignore build/* -ignore mac specific files
1 parent 40bdcba commit 193da38

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ _generated
66
AcceptanceTester.php
77
cghooks.lock
88
src/Magento/FunctionalTestingFramework/Group/*.php
9+
.DS_Store
10+
build/*

bin/phpunit-checks

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See COPYING.txt for license details.
33

44
echo "===============================UNIT TESTS==============================="
5-
vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit
5+
vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit --coverage-xml build/coverage-xml
66

77
echo "===============================VERIFICATION TESTS==============================="
8-
vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite verification
8+
vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite verification --coverage-xml build/coverage-xml

0 commit comments

Comments
 (0)