Skip to content

Add testbench 9 and pest 2 (#9) #45

Add testbench 9 and pest 2 (#9)

Add testbench 9 and pest 2 (#9) #45

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Test ${{ matrix.php }} - ${{ matrix.testbench }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.1, 8.2 ]
testbench: [7.*, 8.*]
steps:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- 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: Install yarn dependencies
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Install composer dependencies
run: |
composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Test
run: ./vendor/bin/pest