Skip to content

Commit fde2117

Browse files
committed
Added coverage commands
1 parent 403e486 commit fde2117

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
all:
22
composer qa-all
33

4+
all-coverage:
5+
composer qa-all-coverage
6+
47
ci:
58
composer qa-ci
69

composer.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,29 @@
4848
],
4949
"unit": [
5050
"@ensure-installed",
51-
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml"
51+
"phpunit --colors=always -c phpunit.xml.dist"
52+
],
53+
"unit-coverage": [
54+
"@ensure-installed",
55+
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
5256
],
5357
"qa-all": [
5458
"@lint-php",
5559
"@cs",
5660
"@unit"
5761
],
62+
"qa-all-coverage": [
63+
"@lint-php",
64+
"@cs",
65+
"@unit-coverage"
66+
],
5867
"qa-windows": [
5968
"@lint-php",
6069
"@cs",
6170
"@unit"
6271
],
6372
"qa-ci": [
64-
"@qa-all"
73+
"@qa-all-coverage"
6574
],
6675
"qa-ci-windows": [
6776
"@qa-windows"

0 commit comments

Comments
 (0)