Skip to content

tests

tests #90

Workflow file for this run

name: tests
on:
push:
pull_request:
schedule:
- cron: '0 2 * * *'
jobs:
build:
name: Test on PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
runs-on: "${{ matrix.os }}"
strategy:
max-parallel: 32
matrix:
os: [ubuntu-latest]
php: ['8.0', '8.1', '8.2']
laravel: ['9', '10']
exclude:
- php: 8.0
laravel: 10
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
extension-csv: mbstring, xdebug
ini-values-csv: "post_max_size=256M, short_open_tag=On"
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Check Composer Version
run: composer -V
- name: Check PHP Extensions
run: php -m
- name: Install Dependencies
run: |
composer require "laravel/framework:^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Test
run: composer test