Skip to content

Commit

Permalink
Merge branch '1.8'
Browse files Browse the repository at this point in the history
* 1.8:
  [CI] Fix requiring specific Symfony version in packages build
  [CI] Run all static checks even if one of them fails
  • Loading branch information
pamil committed Dec 2, 2020
2 parents 8029b7f + e84ce6b commit c54d62e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,34 +63,42 @@ jobs:
-
name: Install PHP dependencies
run: composer update --no-interaction --no-scripts
id: end-of-setup

-
name: Validate composer.json
run: composer validate --strict
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Check for security vulnerabilities
run: symfony security:check
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Validate Doctrine mapping
run: bin/console doctrine:schema:validate --skip-sync -vvv
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Validate Twig templates
run: bin/console lint:twig src
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Validate Yaml files
run: bin/console lint:yaml src
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Run Psalm
run: vendor/bin/psalm --show-info=false --output-format=github
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Run PHPStan
run: vendor/bin/phpstan analyse -c phpstan.neon -l 1 src
if: always() && steps.end-of-setup.outcome == 'success'

test-application-without-frontend:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
run: |
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
composer config extra.symfony.require "${{ matrix.symfony }}"
working-directory: "src/Sylius/${{ matrix.package }}"

-
name: Validate composer.json
Expand Down

0 comments on commit c54d62e

Please sign in to comment.