Skip to content

Commit 7ab4bff

Browse files
authored
Merge pull request #23 from DirectoryTree/copilot/add-laravel-13-compatibility
Add Laravel 13 and Pest v4 compatibility
2 parents 9b32efd + 37a0ba1 commit 7ab4bff

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,26 @@ jobs:
1717
os: [ubuntu-latest]
1818
php: [8.1, 8.2, 8.3, 8.4]
1919
include:
20+
- php: 8.4
21+
laravel: 13.*
22+
testbench: 11.*
23+
pest: 4.*
2024
- php: 8.4
2125
laravel: 12.*
2226
testbench: 10.*
27+
pest: 4.*
2328
- php: 8.3
2429
laravel: 11.*
2530
testbench: 9.*
31+
pest: 3.*
2632
- php: 8.2
2733
laravel: 10.*
2834
testbench: 8.*
35+
pest: 2.*
2936
- php: 8.1
3037
laravel: 9.*
3138
testbench: 7.*
39+
pest: 1.*
3240

3341
name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }}
3442

@@ -69,7 +77,7 @@ jobs:
6977

7078
- name: Install dependencies
7179
run: |
72-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
80+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest:${{ matrix.pest }}" "pestphp/pest-plugin-laravel:${{ matrix.pest }}" --no-interaction --no-update --dev
7381
composer update --prefer-stable --prefer-dist --no-interaction
7482
7583
- name: Execute tests

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"description": "Record metrics in your Laravel application",
44
"type": "library",
55
"require": {
6-
"illuminate/redis": "^9.0|^10.0|^11.0|^12.0",
7-
"illuminate/support": "^9.0|^10.0|^11.0|^12.0",
8-
"illuminate/database": "^9.0|^10.0|^11.0|^12.0",
9-
"illuminate/collections": "^9.0|^10.0|^11.0|^12.0"
6+
"illuminate/redis": "^9.0|^10.0|^11.0|^12.0|^13.0",
7+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0|^13.0",
8+
"illuminate/database": "^9.0|^10.0|^11.0|^12.0|^13.0",
9+
"illuminate/collections": "^9.0|^10.0|^11.0|^12.0|^13.0"
1010
},
1111
"require-dev": {
1212
"laravel/pint": "^1.0",
13-
"pestphp/pest": "^1.0|^2.0|^3.0",
14-
"pestphp/pest-plugin-laravel": "^1.0|^2.0|^3.0",
15-
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0"
13+
"pestphp/pest": "^1.0|^2.0|^3.0|^4.0",
14+
"pestphp/pest-plugin-laravel": "^1.0|^2.0|^3.0|^4.0",
15+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0"
1616
},
1717
"license": "MIT",
1818
"archive": {

0 commit comments

Comments
 (0)