Skip to content

Bump doctrine

Bump doctrine #13

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
tests:
runs-on: ubuntu-24.04
strategy:
matrix:
php-versions: [ '8.2', '8.3', '8.4' ]
symfony-version: ['6.4.*', '7.2.*']
dependencies-version: ['--prefer-lowest', '--prefer-stable']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
tools: phpstan
- name: Configure Symfony
run: composer config extra.symfony.require "${{ matrix.symfony-version }}"
- name: Update project dependencies
run: composer update --no-progress --ansi ${{ matrix.dependencies-version }}
- name: Composer install
run: composer install --no-scripts --no-interaction --prefer-dist -oa
- name: Run Phpunit
run: ./vendor/bin/phpunit
- name: Run Phpstan
run: phpstan analyze DependencyInjection Services