Skip to content

[Fix]: Bug in Prefix #1193

[Fix]: Bug in Prefix

[Fix]: Bug in Prefix #1193

Workflow file for this run

name: Tests
on:
push:
branches:
- 0.x
- 1.x
- main
pull_request:
types:
- opened
- synchronize
- ready_for_review
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.2, 8.3]
laravel: ['10.*', '11.*']
name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup PHP, with composer and extensions
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
tools: composer:v2
coverage: none
- name: Install Node Modules
run: yarn install --frozen-lockfile
- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --no-interaction --no-suggest
- name: Check Composer configuration
run: composer validate --strict
- name: Setup dusk/chrome
run: vendor/bin/dusk-updater detect --auto-update
- name: Code Style Check
run: |
composer pint:test
yarn lint
- name: Run Jest tests
run: |
yarn build
yarn test
- name: Run PHPUnit tests
run: composer test:ci
env:
CI: true