Skip to content

test on php 8.4

test on php 8.4 #78

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, 8.4 ]
laravel: [ 10, 11 ]
exclude:
- laravel: "10"
php: 8.4
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@v4
with:
fail_ci_if_error: false