Skip to content

match upstream but without C++ wrappers #25

match upstream but without C++ wrappers

match upstream but without C++ wrappers #25

Workflow file for this run

name: PHP CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
php:
name: PHP Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
rust:
- stable
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: ./.github/actions/libextism
- name: Setup PHP env
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
extensions: ffi
tools: composer
env:
fail-fast: true
- name: Setup Composer
run: |
composer install
composer require --dev phpunit/phpunit ^10
- name: Test PHP SDK
run: |
./vendor/bin/phpunit ./tests