Skip to content

support PHP 8.3

support PHP 8.3 #57

Workflow file for this run

on: push
jobs:
test:
name: Run tests in PHP ${{ matrix.php-version }}
runs-on: ubuntu-latest
container: 1maa/php-dev:${{ matrix.php-version }}
strategy:
fail-fast: false
matrix:
php-version: ["8.0", "8.1", "8.2", "8.3"]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Install dependencies
run: composer install
- name: Run Linter
run: vendor/bin/php-cs-fixer fix -v --dry-run
- name: Execute test suite
run: composer test
- name: Send coverage to Scrutinizer CI
if: ${{ always() && matrix.php-version == '8.2' }}
run: |
git config --global --add safe.directory /__w/JsonRpc/JsonRpc
php vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage.xml