From 93883ecf9be033389921768ae9c90ff0d29f7c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Heitz?= <324670+edno@users.noreply.github.com> Date: Mon, 10 Jan 2022 13:14:30 +0100 Subject: [PATCH] Update infection (#64) * 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 --- .github/workflows/run-tests.yml | 4 ++-- composer.json | 4 ++-- infection.json.dist | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c6aaae7..a4d4b08 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 @@ -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 }} diff --git a/composer.json b/composer.json index 69ee3f1..1b1aeb8 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/infection.json.dist b/infection.json.dist index cd1059f..d4d61c2 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -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",