Skip to content

Merge pull request #31 from tallstackui/1.28.0 #486

Merge pull request #31 from tallstackui/1.28.0

Merge pull request #31 from tallstackui/1.28.0 #486

Workflow file for this run

name: Tests
on:
push:
branches:
- 1.x
pull_request:
branches:
- 1.x
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.1]
laravel: [10.*]
name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}
steps:
- name: Checkout
uses: actions/checkout@v4
- 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 Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --no-interaction --no-suggest
- name: Setup Node & Build Assets
uses: actions/setup-node@v4
with:
node-version: "18.x"
- run: npm install
- run: npm run build
- name: Generate Artisan Key
run: cp .env.example .env && php artisan key:generate
- name: Route Integrity
run: php artisan route:list
- name: Pint
run: ./vendor/bin/pint --test
- name: Tests
run: ./vendor/bin/pest