Skip to content

Apply fixes from StyleCI (#28) #23

Apply fixes from StyleCI (#28)

Apply fixes from StyleCI (#28) #23

Workflow file for this run

name: Tests
on:
pull_request:
paths-ignore: ['dist/**', '*.md']
push:
paths-ignore: ['dist/**', '*.md']
jobs:
tests:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.3, 7.4, 8.0]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, intl, iconv
coverage: none
- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-suggest
yarn install
- name: Build
run: yarn build
- name: Run PHP tests
run: vendor/bin/phpunit
- name: Rust JS tests
run: yarn test