Skip to content

Commit

Permalink
use threads option for infection
Browse files Browse the repository at this point in the history
  • Loading branch information
smoench committed Dec 15, 2020
1 parent ede9f5d commit f99b70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ tc: bin/phpunit
INFECTION=vendor-bin/infection/vendor/bin/infection
tm: ## Runs Infection
tm: $(TU_BOX_DEPS) $(INFECTION)
$(PHPNOGC) $(INFECTION) --only-covered
$(PHPNOGC) $(INFECTION) --threads=$(nproc || sysctl -n hw.ncpu || 1) --only-covered

.PHONY: e2e
e2e: ## Runs all the end-to-end tests
Expand Down

0 comments on commit f99b70a

Please sign in to comment.