MRW-4186 DoctrineEntitySniff: support NO ACTION referential action #58
Workflow file for this run
This file contains hidden or 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: Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }} | |
runs-on: ubuntu-24.04 | |
continue-on-error: ${{ matrix.allowed-to-fail }} | |
strategy: | |
matrix: | |
php-version: | |
- '8.0' | |
- '8.1' | |
- '8.2' | |
- '8.3' | |
- '8.4' | |
dependencies: [highest] | |
allowed-to-fail: [false] | |
variant: [normal] | |
include: | |
- php-version: '8.2' | |
dependencies: highest | |
allowed-to-fail: true | |
variant: 'squizlabs/php_codesniffer:"dev-master"' | |
- php-version: '8.3' | |
dependencies: highest | |
allowed-to-fail: true | |
variant: 'squizlabs/php_codesniffer:"dev-master"' | |
- php-version: '8.4' | |
dependencies: highest | |
allowed-to-fail: true | |
variant: 'squizlabs/php_codesniffer:"dev-master"' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
php-version: ${{ matrix.php-version }} | |
- name: Install variant | |
if: matrix.variant != 'normal' | |
run: composer require ${{ matrix.variant }} --no-update | |
- name: "Install Composer dependencies (${{ matrix.dependencies }})" | |
uses: "ramsey/composer-install@v3" | |
with: | |
dependency-versions: "${{ matrix.dependencies }}" | |
composer-options: "--prefer-dist --prefer-stable" | |
- name: Validate composer | |
run: composer validate --strict --no-check-lock | |
- name: Check Code Style | |
run: vendor/bin/phpcs |