Composer: Update pestphp/pest requirement from ^1.0|^2.0 to ^3.5.0 #142
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [8.2, 8.1] | |
laravel: [11.*, 10.*, 9.*] | |
stability: [prefer-lowest, prefer-stable] | |
include: | |
- laravel: 11.* | |
testbench: 9.* | |
- laravel: 10.* | |
testbench: 8.* | |
pest: 2.* | |
- laravel: 9.* | |
testbench: 7.* | |
pest: 1.* | |
exclude: | |
- laravel: 11.* | |
php: 8.1 | |
- laravel: 9.* | |
php: 8.2 | |
stability: prefer-lowest | |
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- 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 | |
coverage: none | |
- name: Install dependencies | |
run: | | |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest:${{ matrix.pest }}" --no-interaction --no-update | |
composer update --${{ matrix.stability }} --prefer-dist --no-interaction | |
- name: List Installed Dependencies | |
run: composer show -D | |
- if: matrix.laravel == '10.*' | |
name: Execute tests (laravel 10.x) | |
run: vendor/bin/pest --parallel | |
- if: matrix.laravel == '9.*' | |
name: Execute tests (laravel 9.x) | |
run: vendor/bin/pest |