Skip to content

Add Feature Localization, Add Facade & Rebuild Assets #143

Add Feature Localization, Add Facade & Rebuild Assets

Add Feature Localization, Add Facade & Rebuild Assets #143

Workflow file for this run

name: run-tests
on: [ pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ 8.3, 8.2 ]
laravel: [ 11.* ]
dependency-version: [ prefer-lowest, prefer-stable ]
include:
- laravel: 11.*
testbench: 9.*
name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- 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 Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Run PHPUnit tests
run: composer test
env:
RUNNING_IN_CI: true