Skip to content

Commit

Permalink
Merge pull request #16 from visuellverstehen/dev
Browse files Browse the repository at this point in the history
Support Laravel 9
  • Loading branch information
yam3n404 authored Feb 25, 2022
2 parents 3918694 + c2c30a0 commit d28e853
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Run Tests

on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
on: push

jobs:
php-tests:
Expand All @@ -13,11 +9,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0]
laravel: [8.*, 7.*]
php: [7.4, 8.0, 8.1]
laravel: [9.*, 8.*, 7.*]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
laravel-constraint: ^8.18.1
- laravel: 8.*
Expand All @@ -30,6 +28,13 @@ jobs:
- php: 8.0
dependency-version: prefer-lowest
additional-deps: '"mockery/mockery:>=1.3.3"'
exclude:
- php: 7.4
laravel: 9.*
- php: 8.1
laravel: 8.*
- php: 8.1
laravel: 7.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

Expand All @@ -38,10 +43,10 @@ jobs:
uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v1
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extension-csv: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"email": "[email protected]"
},
"require": {
"php": "^7.4|^8.0",
"illuminate/support": "^7.0|^8.0",
"league/commonmark": "^1.5"
"php": "^7.0|^8.0",
"illuminate/support": "^7.0|^8.0|^9.0",
"league/commonmark": "^1.5|^2.0"
},
"require-dev": {
"orchestra/testbench": "^6.0",
Expand Down

0 comments on commit d28e853

Please sign in to comment.