Skip to content

Upgrade PHPUnit to v13 and migrate config schema #56

Upgrade PHPUnit to v13 and migrate config schema

Upgrade PHPUnit to v13 and migrate config schema #56

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '8.3', '8.4' ]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
tools: composer:v2
- name: Validate composer.json and composer.lock
run: ./composer.phar validate --strict --no-check-lock
- name: Cache Composer packages
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Install dependencies
run: ./composer.phar install --prefer-dist --no-progress
- name: Run test suite
env:
XDEBUG_MODE: coverage
run: ./composer.phar test