Skip to content

Allow Symfony 7

Allow Symfony 7 #45

Workflow file for this run

name: Quality and Assurance
on:
push:
pull_request:
jobs:
qa:
name: Quality
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-versions:
- 8.2
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP, extensions and composer with shivammathur/setup-php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, xml, ctype, intl, dom, filter
env:
update: true
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: PHP-CS-Fixer
run: ./vendor/bin/php-cs-fixer fix --dry-run --using-cache=no --verbose --diff
test:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-versions:
- 8.1
- 8.2
- 8.3
symfony-versions:
- 5.4.*
- 6.3.*
- 6.4.*
- 7.0.*
dependencies:
- ''
include:
- php: '8.1'
symfony: '5.4.*'
dependencies: 'lowest'
exclude:
- php: '8.1'

Check failure on line 57 in .github/workflows/qa.yaml

View workflow run for this annotation

GitHub Actions / Quality and Assurance

Invalid workflow file

The workflow is not valid. .github/workflows/qa.yaml (Line: 57, Col: 13): Matrix exclude key 'php' does not match any key within the matrix .github/workflows/qa.yaml (Line: 58, Col: 13): Matrix exclude key 'symfony' does not match any key within the matrix
symfony: '7.0.*'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP, extensions and composer with shivammathur/setup-php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, xml, ctype, iconv, intl, pdo, pdo_mysql, dom, filter, gd, json
tools: flex
env:
update: true
- name: Install Composer
if: "matrix.dependencies == ''"
run: composer update --no-progress --ansi --prefer-stable
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
- name: Install Lowest Composer dependencies
if: "matrix.dependencies == 'lowest'"
run: composer update --no-progress --ansi --prefer-stable --prefer-lowest
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
- name: Validate composer
run: composer validate --strict --no-check-lock
- name: Execute unit tests
run: symfony php ./vendor/bin/simple-phpunit