Skip to content

add support for "illuminate" 9.0 and 10.0 #14

add support for "illuminate" 9.0 and 10.0

add support for "illuminate" 9.0 and 10.0 #14

Workflow file for this run

name: tests
on:
- push
- pull_request
jobs:
linux_tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
php: ['7.3', '7.4', '8.0', '8.1', '8.2']
stability: [prefer-lowest, prefer-stable]
include:
- php: '8.1'
stability: prefer-stable
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
tools: composer:v2
coverage: none
- name: Mimic PHP 8.0
run: composer config platform.php 8.0.999
if: matrix.php > 8
- name: Set Minimum Guzzle Version
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update
if: matrix.php >= 8
- name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
- name: Execute tests
continue-on-error: ${{ matrix.php > 8 }}
run: vendor/bin/phpunit --verbose
windows_tests:
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
php: ['7.3', '7.4', '8.0']
stability: [prefer-lowest, prefer-stable]
include:
- php: '8.1'
stability: prefer-stable
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - Windows
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, gd, fileinfo
tools: composer:v2
coverage: none
- name: Mimic PHP 8.0
run: composer config platform.php 8.0.999
if: matrix.php > 8
- name: Set Minimum Guzzle Version
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update
if: matrix.php >= 8
- name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose