Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of Laravel 11 support and updated dependencies #174

Merged
merged 7 commits into from
May 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading