Skip to content

Commit

Permalink
Merge pull request #174 from 5am-code/dev
Browse files Browse the repository at this point in the history
Addition of Laravel 11 support and updated dependencies
  • Loading branch information
johguentner authored May 5, 2024
2 parents b5b978c + 2294243 commit 9cf529d
Show file tree
Hide file tree
Showing 3 changed files with 3,378 additions and 1,779 deletions.
37 changes: 21 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Run tests

on: ['push', 'workflow_dispatch']
on:
- push
- workflow_dispatch

jobs:
php-tests:
Expand All @@ -9,21 +11,24 @@ jobs:
strategy:
fail-fast: false
matrix:
php:
- '8.1'
- '8.0'
laravel:
- '8.*'
testbench:
- '6.*'
dependency-version:
- 'prefer-stable'

php: ["8.0", "8.1", "8.2"]
laravel: ["8.*", "11.*"]
testbench: ["6.*", "9.*"]
dependency-version: [prefer-stable]
include:
- laravel: '8.*'
testbench: '6.*'


- laravel: 8.*
testbench: 6.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: "8.0"
- laravel: 11.*
php: "8.1"
- laravel: "8.*"
testbench: "9.*"
- laravel: "11.*"
testbench: "6.*"

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

Expand All @@ -44,4 +49,4 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/pest tests
run: vendor/bin/pest tests
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"require": {
"php": "^8.0",
"guzzlehttp/guzzle": "^7.0.1",
"illuminate/support": "^8.0|^9.0|^10.0"
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.0|^8.0",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.3",
"phpunit/phpunit": "^9.0"
"orchestra/testbench": "^6.0|^8.0|^9.0",
"pestphp/pest": "^1.22|^2.34",
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
"phpunit/phpunit": "^9.0|^10.5"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 9cf529d

Please sign in to comment.