Skip to content

Commit

Permalink
Do not run phpstan on prefer-lowest installs
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Oct 19, 2022
1 parent 6752e39 commit 5d4e7d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/quality-assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,18 @@ jobs:
php: [ '8.0', '8.1' ]
composer-flags: [ '' ]
experimental: [false]
phpstan: [true]
phpunit-flags: [ '--coverage-text' ]
include:
- php: '8.0'
composer-flags: '--prefer-lowest'
experimental: false
phpstan: false
phpunit-flags: '--no-coverage'
- php: '8.2'
composer-flags: '--ignore-platform-reqs'
experimental: true
phpstan: false
phpunit-flags: '--no-coverage'
steps:
- uses: actions/checkout@v3
Expand All @@ -62,7 +65,7 @@ jobs:
- run: php test_files/wait_for_ftp.php 2122
- run: COMPOSER_OPTS='${{ matrix.composer-flags }}' vendor/bin/phpunit ${{ matrix.phpunit-flags }}
- run: vendor/bin/phpstan analyse
if: ${{ matrix.php == '8.0' }}
if: ${{ matrix.phpstan }}
- run: vendor/bin/php-cs-fixer fix --diff --dry-run
continue-on-error: true
if: ${{ matrix.php == '8.0' }}
Expand Down

0 comments on commit 5d4e7d5

Please sign in to comment.