Skip to content

Add PHP 8.4 support #370

Add PHP 8.4 support

Add PHP 8.4 support #370

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
blackbox:
uses: innmind/github-workflows/.github/workflows/black-box-matrix.yml@main
with:
ini-values: memory_limit=256M
coverage:
uses: innmind/github-workflows/.github/workflows/coverage-matrix.yml@main
secrets: inherit
with:
ini-values: memory_limit=256M
phpunit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
php-version: ['8.2', '8.3', '8.4']
dependency-versions: ['lowest', 'highest']
name: 'PHPUnit'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: xdebug
- name: Composer
uses: "ramsey/composer-install@v3"
with:
dependency-versions: ${{ matrix.dependencies }}
- name: PHPUnit
run: vendor/bin/phpunit --fail-on-risky --coverage-clover=coverage.clover
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
phpunit_11:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
php-version: ['8.2', '8.3', '8.4']
dependency-versions: ['lowest', 'highest']
name: 'PHPUnit 11'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: xdebug
- name: Composer
uses: "ramsey/composer-install@v3"
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: '--no-dev'
- name: 'Remove conflict on Psalm'
run: composer remove --dev vimeo/psalm && composer update
- name: PHPUnit
run: vendor/bin/phpunit --fail-on-risky --coverage-clover=coverage.clover
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
psalm:
uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@main
cs:
uses: innmind/github-workflows/.github/workflows/cs.yml@main
with:
php-version: '8.2'