Skip to content

Modernize for PHP 8.4+, Symfony 6.4/7.4/8.1+, PHPUnit 12 #150

Modernize for PHP 8.4+, Symfony 6.4/7.4/8.1+, PHPUnit 12

Modernize for PHP 8.4+, Symfony 6.4/7.4/8.1+, PHPUnit 12 #150

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
jobs:
tests:
name: Test PHP ${{ matrix.php }} ${{ matrix.name }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
php: ['8.4', '8.5']
composer-flags: ['']
name: ['']
include:
- php: '8.4'
composer-flags: '--prefer-lowest'
name: '(prefer lowest dependencies)'
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Setup Problem Matchers
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Validate composer.json
run: composer validate --strict
- name: Install Composer dependencies
run: |
composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }}
- name: Execute PHPUnit
run: vendor/bin/phpunit