Skip to content

latest cs fixer changes #21

latest cs fixer changes

latest cs fixer changes #21

Workflow file for this run

name: CI
on:
push:
branches:
- '*.x'
pull_request:
jobs:
phpunit:
name: PHP ${{ matrix.php }} ${{ matrix.env.COMPOSER_FLAGS }}
runs-on: ubuntu-20.04
env:
SYMFONY_DEPRECATIONS_HELPER: weak
PHPUNIT_FLAGS: "-v"
strategy:
fail-fast: false
matrix:
include:
- php: '7.2'
env:
SYMFONY_REQUIRE: "*"
- php: '7.3'
env:
SYMFONY_REQUIRE: "*"
- php: '7.4'
env:
SYMFONY_REQUIRE: "*"
- php: '8.0'
env:
SYMFONY_REQUIRE: "*"
- php: '8.1'
env:
SYMFONY_REQUIRE: "*"
- php: '8.2'
env:
SYMFONY_REQUIRE: "*"
- php: '8.3'
env:
SYMFONY_REQUIRE: "*"
- php: '7.2'
env:
COMPOSER_FLAGS: "--prefer-lowest"
- php: '8.0'
env:
COMPOSER_FLAGS: "--prefer-lowest"
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Checkout code
uses: actions/checkout@v2
- name: Install composer dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --no-ansi ${COMPOSER_FLAGS}
vendor/bin/simple-phpunit install
- name: Execute tests
run: |
composer validate --strict --no-check-lock
vendor/bin/simple-phpunit