Skip to content

Fix workflow

Fix workflow #40

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys: php-${{ matrix.php }}-composer-
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: composer run tests