Skip to content

Support Symfony 7 (#318) #202

Support Symfony 7 (#318)

Support Symfony 7 (#318) #202

Workflow file for this run

name: Test
on: [push, pull_request ]
jobs:
test:
name: 'PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} + ${{ matrix.variant }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dependencies:
- lowest
- highest
php-version:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.2'
variant: [normal]
include:
- php-version: '7.2'
dependencies: highest
variant: 'doctrine/orm:~2.5'
- php-version: '7.2'
dependencies: highest
variant: 'doctrine/orm:~2.6'
- php-version: '7.2'
dependencies: highest
variant: 'doctrine/orm:~2.7'
- php-version: '8.0'
dependencies: highest
variant: 'doctrine/orm:~2.7 symfony/property-access:^6.0'
- php-version: '8.2'
dependencies: highest
variant: 'doctrine/orm:~2.7 symfony/property-access:^7.0'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
- name: Install variant
if: matrix.variant != 'normal'
run: composer require ${{ matrix.variant }} --no-update
- name: 'Install Composer dependencies (${{ matrix.dependencies }})'
uses: 'ramsey/composer-install@v1'
with:
dependency-versions: '${{ matrix.dependencies }}'
composer-options: '--prefer-dist --prefer-stable'
- name: Run Tests
run: composer test