Skip to content

Update PHPStan packages #281

Update PHPStan packages

Update PHPStan packages #281

Workflow file for this run

name: Symfony
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "develop" ]
permissions:
contents: read
jobs:
symfony-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.4'
- '8.1'
- '8.2'
- '8.3'
include:
- description: 'Symfony 5.4'
php: '7.4'
symfony: 5.4.*
composer_option: '--prefer-lowest'
- description: 'Symfony 5.4 on PHP 8.1'
php: '8.1'
symfony: 5.4.*
- description: 'Symfony 6.4'
php: '8.1'
symfony: 6.4.*
- description: 'Symfony 7.0'
php: '8.2'
symfony: 7.0.*
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: actions/checkout@v4
- name: Copy .env.test.local
run: php -r "file_exists('.env.test.local') || copy('.env.test', '.env.test.local');"
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: vendor/bin/phpunit