Skip to content

Merge pull request #28 from ekreative/tests #21

Merge pull request #28 from ekreative/tests

Merge pull request #28 from ekreative/tests #21

Workflow file for this run

name: Tests
on:
push:
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
version:
- php: '8.3'
symfony: '5.4'
- php: '8.3'
symfony: '6.4'
- php: '8.3'
symfony: '7.0'
name: PHP ${{ matrix.version.php }} Symfony ${{ matrix.version.symfony }}
steps:
- uses: actions/checkout@v4
- 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: vendor/bin/phpunit --exclude-group not-${{ matrix.version.symfony }}
env:
SYMFONY_DEPRECATIONS_HELPER: 'disabled=1'