Skip to content

Commit 1d5946d

Browse files
committed
Update Makefile
1 parent 108f77d commit 1d5946d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,14 @@ infection:
173173
version=$(shell jq -r '.packages[] | select(.name == "infection/infection") | .version' build-infection/composer.lock); \
174174
wget https://github.com/infection/infection/releases/download/$$version/infection.phar --no-clobber;
175175
chmod +x infection.phar
176-
php infection.phar --ignore-msi-with-no-mutations --logger-text=php://stdout
176+
XDEBUG_MODE=coverage php tests/vendor/bin/paratest \
177+
--coverage-xml=tmp/coverage/coverage-xml \
178+
--log-junit=tmp/coverage/junit.xml
179+
php infection.phar \
180+
--git-diff-base=origin/2.1.x \
181+
--git-diff-lines \
182+
--coverage=tmp/coverage \
183+
--skip-initial-tests \
184+
--ignore-msi-with-no-mutations \
185+
--logger-text=php://stdout
177186
rm infection.json5 infection.phar

0 commit comments

Comments
 (0)