Skip to content

Update to Symfony 7 #51

Update to Symfony 7

Update to Symfony 7 #51

Workflow file for this run

name: GrumPHP
on: [push, pull_request]
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macos-latest, windows-latest]
php-versions: ['8.0', '8.1', '8.2', '8.3']
composer-options: ['', '--prefer-lowest']
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} ${{ matrix.composer-options }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
extensions: xdebug, mbstring #optional
- name: Check PHP Version
run: php -v
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
- name: Run non windows test suite
run: vendor/bin/grumphp run
if: matrix.operating-system != 'windows-latest'
- name: Run windows test suite
run: vendor/bin/grumphp run --tasks phpunit
if: matrix.operating-system == 'windows-latest'