Skip to content

Run tests on Symfony 7.1 RC #34

Run tests on Symfony 7.1 RC

Run tests on Symfony 7.1 RC #34

Workflow file for this run

name: 'Run Tests'
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.can-fail }}
strategy:
fail-fast: true
matrix:
php: ['8.2', '8.3']
symfony: ['6.4.*', '7.0.*', '7.1.*@rc']
composer-flags: ['--prefer-stable']
can-fail: [false]
include:
- php: '8.2'
symfony: '6.4.*'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
name: "PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2,flex
extensions: curl, iconv, mbstring, zip
coverage: none
- name: Install dependencies
run: |
composer update ${{ matrix.composer-flags }} --prefer-dist --no-suggest
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}
- name: Execute tests
run: vendor/bin/phpunit