Skip to content

Fix build issue

Fix build issue #84

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
jobs:
tests:
strategy:
matrix:
os: [Ubuntu, macOS]
php: [8.0, 8.1]
include:
- os: Ubuntu
os-version: ubuntu-latest
- os: macOS
os-version: macos-latest
name: ${{ matrix.os }} - PHP ${{ matrix.php }}
runs-on: ${{ matrix.os-version }}
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: posix, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Run PHP tests
run: vendor/bin/phpunit