Skip to content

- fixes

- fixes #140

Workflow file for this run

name: Test PHP 8.x
on:
push:
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
pull_request:
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
release:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: ['11.*']
php: [8.1, 8.2, 8.3]
exclude:
- laravel: '11.*'
php: 8.1
fail-fast: false
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extension: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
- name: Install dependencies
run: |
composer require "illuminate/support:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Run tests
run: vendor/bin/phpunit