Skip to content

update readme

update readme #10

Workflow file for this run

name: Testing
on: [push, workflow_dispatch, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
name: "PHP${{matrix.php}} - Laravel${{matrix.laravel}}"
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
php: [8.3, 8.2, 8.1, 8.0]
laravel: [11.*, 10.*, 9.*]
exclude:
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0
- laravel: 10.*
php: 8.0
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Require laravel ${{ matrix.laravel }}
run: composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
- name: show composer schema
run: cat composer.json
- name: Install dependencies
run: composer install
- name: run tests
run: vendor/bin/phpunit