Skip to content

Commit

Permalink
Try to add Psalm tool again
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Oct 23, 2023
1 parent 1f4573a commit 2ef11a3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,13 @@ jobs:
coverage: "none"
extensions: "${{ env.PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"
tools: "flex"
tools: "psalm, flex"

- name: "Remove sylius/sylius from composer.json"
- name: "Remove require-dev section in composer.json"
run: "composer config --unset require-dev"

- name: "Add dev requirements"
run: "composer require --no-update --no-plugins --no-scripts psalm/plugin-phpunit"

- name: "Install composer dependencies"
uses: "ramsey/composer-install@v2"
Expand All @@ -158,7 +161,7 @@ jobs:
dependency-versions: "${{ matrix.dependencies }}"

- name: "Static analysis"
run: "vendor/bin/psalm --php-version=${{ matrix.php-version }}"
run: "psalm --php-version=${{ matrix.php-version }}"

unit-tests:
name: "Unit tests (PHP${{ matrix.php-version }} | Deps: ${{ matrix.dependencies }} | SF${{ matrix.symfony }})"
Expand Down

0 comments on commit 2ef11a3

Please sign in to comment.