Run Psalm with --php-version
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
tools: composer:v2, flex
|
tools: composer:v2, flex
|
||||||
|
|
||||||
- name: Validate composer.json
|
- name: Validate composer.json
|
||||||
run: composer validate --no-check-lock
|
run: composer validate --strict
|
||||||
|
|
||||||
- name: Remove analysis dependencies
|
- name: Remove analysis dependencies
|
||||||
run: composer remove --dev --no-update sylius-labs/coding-standard
|
run: composer remove --dev --no-update sylius-labs/coding-standard
|
||||||
@@ -48,8 +48,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SYMFONY_REQUIRE: "${{ matrix.symfony-version }}"
|
SYMFONY_REQUIRE: "${{ matrix.symfony-version }}"
|
||||||
|
|
||||||
- name: Run analysis
|
- name: Run coding standard
|
||||||
run: composer analyse
|
run: vendor/bin/ecs check --ansi --no-progress-bar src tests
|
||||||
|
if: matrix.symfony-version != '6.0.*'
|
||||||
|
|
||||||
|
- name: Run Psalm
|
||||||
|
run: vendor/bin/psalm src --no-progress --php-version="${{ matrix.php-version }}"
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: composer test
|
run: composer test
|
||||||
|
|||||||
Reference in New Issue
Block a user