Skip to content

Commit 6c6f139

Browse files
author
smoench
committed
use threads option for infection
1 parent ede9f5d commit 6c6f139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ tc: bin/phpunit
8181
INFECTION=vendor-bin/infection/vendor/bin/infection
8282
tm: ## Runs Infection
8383
tm: $(TU_BOX_DEPS) $(INFECTION)
84-
$(PHPNOGC) $(INFECTION) --only-covered
84+
$(PHPNOGC) $(INFECTION) --threads=$(shell nproc || sysctl -n hw.ncpu || 1) --only-covered
8585

8686
.PHONY: e2e
8787
e2e: ## Runs all the end-to-end tests

0 commit comments

Comments
 (0)