Skip to content

Merge pull request #14 from carsdotcom/safe-attribute-mutator #14

Merge pull request #14 from carsdotcom/safe-attribute-mutator

Merge pull request #14 from carsdotcom/safe-attribute-mutator #14

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.2']
laravel: [9.*, 10.*, 11.*]
include:
- php: 8.1
laravel: 9.*
- php: 8.1
laravel: 10.*
name: Unit Tests - PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, php-xml, sqlite3
coverage: xdebug
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Run test suite
run: composer run-script test