Skip to content

Dev/update php 8

Dev/update php 8 #4

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: PHP ${{ matrix.php-version }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
php-version:
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
tools: composer:v2
- name: Install Composer dependencies
uses: ramsey/composer-install@v1
with:
composer-options: --prefer-dist
- name: Run Tests
run: composer tests
- name: Check coding style
run: composer coding-style