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:
parent
7f11869f65
commit
f396d49a4c
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -19,7 +19,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
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 update --prefer-dist --no-interaction --no-progress
|
||||||
composer test-units
|
composer test-units
|
||||||
|
|
||||||
@ -42,7 +43,7 @@ jobs:
|
|||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
composer update --prefer-dist --no-interaction --no-progress
|
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:
|
static-analysis:
|
||||||
name: Code Format and Static Analysis
|
name: Code Format and Static Analysis
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
"phpunit/phpunit": "^9.3.11",
|
"phpunit/phpunit": "^9.3.11",
|
||||||
"vimeo/psalm": "^4.10.0",
|
"vimeo/psalm": "^4.10.0",
|
||||||
"friendsofphp/php-cs-fixer": "^2.13",
|
"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": {
|
"autoload": {
|
||||||
"psr-4": {"Erusev\\Parsedown\\": "src/"}
|
"psr-4": {"Erusev\\Parsedown\\": "src/"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user