1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Use static analysis plugin for infection

This commit is contained in:
Aidan Woods 2021-10-11 20:43:25 +01:00
parent 7f11869f65
commit f396d49a4c
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,8 @@ jobs:
- uses: actions/checkout@v2
- name: Run Tests
run: |
composer remove infection/infection
composer remove infection/infection --no-update
composer remove roave/infection-static-analysis-plugin --no-update
composer update --prefer-dist --no-interaction --no-progress
composer test-units
@ -42,7 +43,7 @@ jobs:
- name: Run Tests
run: |
composer update --prefer-dist --no-interaction --no-progress
vendor/bin/infection --show-mutations --threads=4 --min-msi=90 --min-covered-msi=90
vendor/bin/roave-infection-static-analysis-plugin --show-mutations --threads=4 --min-msi=90 --min-covered-msi=90
static-analysis:
name: Code Format and Static Analysis

View File

@ -20,7 +20,8 @@
"phpunit/phpunit": "^9.3.11",
"vimeo/psalm": "^4.10.0",
"friendsofphp/php-cs-fixer": "^2.13",
"infection/infection": "^0.25.3"
"infection/infection": "^0.25.0",
"roave/infection-static-analysis-plugin": "^1.10.0"
},
"autoload": {
"psr-4": {"Erusev\\Parsedown\\": "src/"}