Skip to content

Test against php '8.1', '8.2', '8.3' and '8.4' #6

Test against php '8.1', '8.2', '8.3' and '8.4'

Test against php '8.1', '8.2', '8.3' and '8.4' #6

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
name: PHP ${{ matrix.php }} tests
steps:
- uses: actions/checkout@v2
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: :xdebug
- run: composer install --prefer-source
- run: vendor/bin/phpunit