[TASK] Remove "checkMissingIterableValueType" option and add missing … #105
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: Code Checks | |
on: | |
push: | |
branches: [ master, 1.x, 2.0-dev ] | |
pull_request: | |
branches: [ master, 1.x, 2.0-dev ] | |
jobs: | |
build: | |
name: Build and test application | |
strategy: | |
matrix: | |
php: | |
- "8.2" | |
- "8.3" | |
dependencies: | |
- "lowest" | |
- "highest" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php }}" | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Cache Composer packages | |
id: composer-cache | |
uses: actions/cache@v2 | |
with: | |
path: vendor | |
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.dependencies }} | |
restore-keys: | | |
${{ runner.os }}-php- | |
- name: Composer install | |
uses: "ramsey/composer-install@v1" | |
with: | |
dependency-versions: "${{ matrix.dependencies }}" | |
composer-options: "${{ matrix.composer-options }}" | |
- name: Run code quality checks | |
run: composer run-script check | |
- name: Run test suite | |
run: composer run-script test-with-coverage | |
if: ${{ matrix.php != '8.1' }} | |
- name: Upload test reports artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-reports-${{ matrix.php }}-${{ matrix.dependencies }} | |
path: | | |
.build/reports/* |