Skip to content

Merge pull request #50 from slc1/update_carbon_dependency #26

Merge pull request #50 from slc1/update_carbon_dependency

Merge pull request #50 from slc1/update_carbon_dependency #26

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
version:
- php: '8.0'
symfony: '5.4'
- php: '8.0'
symfony: '6.0'
- php: '8.2'
symfony: '7.0'
name: PHP ${{ matrix.version.php }} Symfony ${{ matrix.version.symfony }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version.php }}
tools: phpunit-bridge, flex
extensions: pdo_sqlite, redis
coverage: none
- run: |
composer config extra.symfony.require ${{ matrix.version.symfony }}
composer update
- run: vendor/bin/php-cs-fixer fix --dry-run --diff
- run: chmod +x tests/console
- run: tests/console cache:clear
- run: vendor/bin/phpstan analyse -c phpstan.neon
- run: vendor/bin/phpunit
env:
SYMFONY_DEPRECATIONS_HELPER: 'disabled=1'