Skip to content

Fixing some issues for mr Phil Sturgeon #144

Fixing some issues for mr Phil Sturgeon

Fixing some issues for mr Phil Sturgeon #144

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.1, 8.2, 8.3 ]
laravel: [ 9.*, 10.* ]
exclude:
- php: 8.1
laravel: 9.*
- php: 8.1
laravel: 10.8
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json
coverage: none
- name: Install the dependencies
run: |
composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-progress --no-update
composer update --no-progress --prefer-dist --no-interaction
- name: Execute the tests
run: vendor/bin/phpunit --testdox