Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Update infection (#64)
Browse files Browse the repository at this point in the history
* Update composer.json

* Update infection.json.dist

* Update infection.json.dist

* remove --quiet from composer update

* Update composer.json

* Update composer.json

* Update run-tests.yml
  • Loading branch information
edno committed Jan 10, 2022
1 parent 26f9230 commit 93883ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: composer validate

- name: Install dependencies
run: composer update --prefer-stable --no-progress --no-interaction --quiet
run: composer update --prefer-stable --no-progress --no-interaction

- name: Run static analysis
run: ./vendor/bin/phpstan analyse src
Expand All @@ -25,7 +25,7 @@ jobs:
run: ./vendor/bin/codecept run --quiet --no-colors --no-interaction --coverage --coverage-xml

- name: Run mutation tests
run: ./vendor/bin/infection --min-covered-msi=80 --threads=2 --no-progress --no-interaction --log-verbosity=none
run: ./vendor/bin/infection --min-covered-msi=75 --threads=2 --no-progress --no-interaction --log-verbosity=none
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"codeception/assert-throws": "^1.1",
"codeception/module-asserts": "^1",
"codeception/mockery-module": "^0.4",
"infection/codeception-adapter": "^0.3",
"infection/infection": "^0.24",
"infection/codeception-adapter": "^0.4",
"infection/infection": "^0.26",
"php-coveralls/php-coveralls": "^2",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
Expand Down
5 changes: 3 additions & 2 deletions infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
]
},
"logs": {
"html": "tests/_output/infection/infection.html",
"text": "tests/_output/infection/infection.log",
"summary": "tests/_output/infection/summary.log",
"perMutator": "tests/_output/infection/per-mutator.md",
"badge": {
"branch": "main"
"stryker": {
"report": "main"
}
},
"tmpDir": "tests/_output/tmp",
Expand Down

0 comments on commit 93883ec

Please sign in to comment.