Skip to content

Commit 42f1773

Browse files
committed
Update Makefile
1 parent 6b4f74f commit 42f1773

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
@@ -175,5 +175,14 @@ infection:
175175
version=$(shell jq -r '.packages[] | select(.name == "infection/infection") | .version' build-infection/composer.lock); \
176176
wget https://github.com/infection/infection/releases/download/$$version/infection.phar --no-clobber;
177177
chmod +x infection.phar
178-
php infection.phar --ignore-msi-with-no-mutations --logger-text=php://stdout
178+
XDEBUG_MODE=coverage php tests/vendor/bin/paratest \
179+
--coverage-xml=tmp/coverage/coverage-xml \
180+
--log-junit=tmp/coverage/junit.xml
181+
php infection.phar \
182+
--git-diff-base=origin/2.1.x \
183+
--git-diff-lines \
184+
--coverage=tmp/coverage \
185+
--skip-initial-tests \
186+
--ignore-msi-with-no-mutations \
187+
--logger-text=php://stdout
179188
rm infection.json5 infection.phar

0 commit comments

Comments
 (0)