Skip to content

Update the changelog #47

Update the changelog

Update the changelog #47

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.4, 8.3, 8.2, 8.1 ]
laravel: [ '10.*', '11.*', '12.*' ]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: 10.*
exclude:
- laravel: 11.*
php: 8.1
- laravel: 12.*
php: 8.1
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set correct PHP version
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit -c phpunit.xml.dist
test-legacy:
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.4, 8.3, 8.2, 8.1 ]
laravel: [ '8.*', '9.*' ]
include:
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set correct PHP version
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit -c phpunit.xml.legacy.dist