Skip to content

Merge pull request #16 from maartenpaauw/feat/laravel-11-support #86

Merge pull request #16 from maartenpaauw/feat/laravel-11-support

Merge pull request #16 from maartenpaauw/feat/laravel-11-support #86

Workflow file for this run

name: PHP Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php-versions }}
tools: composer, phpunit
coverage: xdebug
- name: Install Composer dependencies
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
- name: Run PHPUnit
run: composer run test
- name: Run PHP CS Fixer
run: composer run fix