Skip to content

Fix trusted proxies issue #1078

Fix trusted proxies issue

Fix trusted proxies issue #1078

Workflow file for this run

name: Run Tests
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
php-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [7.4, 8.0, 8.1]
laravel: [8.*, 9.*]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
include:
- laravel: 8.*
framework: ^8.24.0
- laravel: 9.*
framework: ^9.0
- os: windows-latest
php: 7.4
laravel: 8.*
framework: ^8.65.0
stability: prefer-stable
- os: windows-latest
php: 8.1
laravel: 9.*
framework: ^9.0
stability: prefer-stable
exclude:
- laravel: 9.*
php: 7.4
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v1
- 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 dependencies
run: |
composer require "laravel/framework:${{ matrix.framework }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit