enh: more added pest tests #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run PHPStan (level 10 / src) | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- 'CHANGELOG.md' | |
- 'CONTRIBUTING.md' | |
- 'doc/**' | |
jobs: | |
phpstan: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: [ 8.2, 8.3, 8.4 ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: xdebug | |
- name: Install dependencies | |
run: composer install --no-progress --no-suggest --prefer-dist | |
- name: Configure Xdebug | |
run: echo "xdebug.mode=coverage" >> $GITHUB_ENV | |
- name: Run PHPStan (level 10 / src) | |
run: vendor/bin/phpstan analyse -l 10 src |