Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

allow laravel 11

allow laravel 11 #84

Workflow file for this run

name: tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
schedule:
- cron: '0 0 10 * *'
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
php: [ 8.2, 8.3 ]
laravel: [ 10, 11 ]
name: PHP v${{ matrix.php }} - Laravel v${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo
ini-values: error_reporting=E_ALL
coverage: pcov
- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: composer test:coverage
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false