Skip to content

Test on PHP 8.3

Test on PHP 8.3 #78

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3]
laravel: [9.*, 10.*]
name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-update -n
composer install --no-suggest --prefer-dist -n -o
- name: Run tests
run: vendor/bin/phpunit