Skip to content

v2.1.0

v2.1.0 #67

Workflow file for this run

name: tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
schedule:
- cron: '0 0 11 * *'
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
php: [ 8.2, 8.3 ]
laravel: [ 10, 11 ]
name: PHP ${{ 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: ctype, dom, json, mbstring, openssl, xml, zip, zlib
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