Skip to content

Move to ramsey/composer-install@v3 #27

Move to ramsey/composer-install@v3

Move to ramsey/composer-install@v3 #27

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
name: PHP ${{ matrix.php }} tests
steps:
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- uses: "ramsey/composer-install@v3"
with: # ext-rdkafka not needed for tests, and a pain to install on CI;
composer-options: "--ignore-platform-req=ext-rdkafka"
- run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php
- run: vendor/bin/phpunit --exclude-group=functional