Skip to content

Commit

Permalink
Always run Psalm, even if PHP-CS-Fixer failed
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbestle committed Dec 28, 2020
1 parent 7a4b8a7 commit c98ece3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
run: composer install --prefer-dist

- name: Cache analysis data
id: finishPrepare
uses: actions/cache@v2
with:
path: |
Expand All @@ -104,12 +105,14 @@ jobs:
key: backend-analysis

- name: Run PHP-CS-Fixer
if: always() && steps.finishPrepare.outcome == 'success'
env:
PHP_CS_FIXER_IGNORE_ENV: 1
run: |
php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
- name: Run Psalm
if: always() && steps.finishPrepare.outcome == 'success'
run: psalm --output-format=github

coveralls-upload:
Expand Down

0 comments on commit c98ece3

Please sign in to comment.