Skip to content

Update CI

Update CI #40

Workflow file for this run

name: Tests (PHP)
on: [push, pull_request]
jobs:
phpunit:
name: PHP ${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.composer_flags }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
php: [7.3, 7.4]
composer_flags: ['--prefer-lowest', '']
steps:
- uses: actions/checkout@v2
- name: Configure PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, fileinfo
coverage: none
- name: Install Composer dependencies
run: composer update --no-interaction --no-ansi --prefer-dist --prefer-stable ${{ matrix.composer_flags }}
- name: Execute tests
run: vendor/bin/phpunit