Skip to content

Update dependency orchestra/testbench to v8.9.0 #423

Update dependency orchestra/testbench to v8.9.0

Update dependency orchestra/testbench to v8.9.0 #423

Workflow file for this run

name: run-tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0, 8.1, 8.2]
statamic: [3.2.*, 3.3.*, 4.*]
include:
- statamic: 3.2.*
testbench: ^5.20
- statamic: 3.2.*
testbench: ^6.23
- statamic: 3.3.*
testbench: ^6.23
- statamic: 3.3.*
testbench: ^7.0
- statamic: 4.*
testbench: ^7.0
exclude:
- statamic: 3.2.*
php: 8.1
- statamic: 3.2.*
php: 8.2
- statamic: 3.3.*
php: 7.4
- statamic: 4.*
php: 7.4
name: PHP ${{ matrix.php }} - Statamic ${{ matrix.statamic }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install dependencies
run: |
composer require "statamic/cms:${{ matrix.statamic }}" "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