Skip to content

Laravel 11.x Compatibility #16

Laravel 11.x Compatibility

Laravel 11.x Compatibility #16

Workflow file for this run

name: Run Package Tests
on:
pull_request:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
node-version: [16.x]
typesense-version: [0.24.0]
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Start Typesense
uses: jirevwe/[email protected]
with:
typesense-version: ${{ matrix.typesense-version }}
typesense-port: 8108
typesense-api-key: xyz
- name: Composer Validate
run: composer validate
- name: Cache Composer Packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- name: Install Dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress
- name: Run Tests
run: vendor/bin/phpunit tests