Skip to content

Update installation instructions in README.md- Clarify steps and head… #233

Update installation instructions in README.md- Clarify steps and head…

Update installation instructions in README.md- Clarify steps and head… #233

Workflow file for this run

name: run-tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.4, 8.3, 8.2]
laravel: [12.*, 11.*]
include:
- laravel: 12.*
testbench: ^10.0
pest: ^4.0
pest-plugin-laravel: ^4.0
- laravel: 11.*
testbench: ^9.0
pest: ^3.0
pest-plugin-laravel: ^3.0
exclude:
# Pest 4 and pestphp/pest-plugin-laravel 4 min php is 8.3 https://github.com/pestphp/pest/blob/4.x/composer.json#L20
# Else causes run error: https://github.com/damms005/laravel-multipay/actions/runs/17175415472/job/48730646390
- laravel: 12.*
php: 8.2
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (${{ matrix.os }})
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, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Composer version
run: echo composer --version
- name: Install composer packages
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" pestphp/pest:${{matrix.pest}} pestphp/pest-plugin-laravel:${{matrix.pest-plugin-laravel}} --no-interaction --no-update --dev
composer update --prefer-stable --prefer-dist --no-interaction
- name: Execute tests
run: ./vendor/bin/pest