Skip to content

Upgrade to phpunit 10 #207

Upgrade to phpunit 10

Upgrade to phpunit 10 #207

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
release:
types: [created]
jobs:
tests:
runs-on: ubuntu-latest
name: Build and test
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3, 8.4]
composer-flags: [ "" ]
symfony-version: [ "" ]
include:
- php: 8.1
symfony-version: '^5.4'
- php: 8.1
symfony-version: '^6.4'
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
ini-file: "development"
coverage: none
- name: Update Symfony version
if: matrix.symfony-version != ''
run: composer require --no-update "symfony/symfony:${{ matrix.symfony-version }}"
- name: Install dependencies
run: composer update ${{ matrix.composer-flags }}
- name: Run tests (phpunit)
run: ./vendor/bin/phpunit