Skip to content

Commit

Permalink
Mutation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Nov 20, 2021
1 parent 819355c commit df304fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ rector: vendor ## Check all files using Rector

.PHONY: mutation-tests
mutation-tests: vendor ## Mutation tests
vendor/bin/infection -s --threads=$(nproc) --min-msi=60 --min-covered-msi=70
vendor/bin/infection -s --threads=$(nproc) --min-msi=64 --min-covered-msi=74

.PHONY: mutation-tests-github
mutation-tests-github: vendor ## Mutation tests (for Github only)
vendor/bin/infection --logger-github --git-diff-filter=AM -s --threads=$(nproc) --min-msi=17 --min-covered-msi=31
vendor/bin/infection --logger-github --git-diff-filter=AM -s --threads=$(nproc) --min-msi=64 --min-covered-msi=74


.DEFAULT_GOAL := help
Expand Down
5 changes: 0 additions & 5 deletions infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
},
"mutators": {
"@default": true,
"global-ignoreSourceCodeByRegex": [
"\\$this->logger.*",
"\\$this->cache->save.*",
"parent::build(\\$container);"
],
"MBString": {
"settings": {
"mb_substr": false,
Expand Down

0 comments on commit df304fa

Please sign in to comment.