Skip to content

Commit b40bb6f

Browse files
committed
fix tests
1 parent 63453a2 commit b40bb6f

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

.github/workflows/run-tests.yml

+10-14
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ on:
88
- "phpunit.xml.dist"
99
- "composer.json"
1010
- "composer.lock"
11-
12-
concurrency:
13-
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: true
11+
pull_request:
12+
paths:
13+
- "**.php"
14+
- ".github/workflows/run-tests.yml"
15+
- "phpunit.xml.dist"
16+
- "composer.json"
17+
- "composer.lock"
1518

1619
jobs:
1720
test:
@@ -22,15 +25,8 @@ jobs:
2225
matrix:
2326
os: [ubuntu-latest, windows-latest]
2427
php: [8.4, 8.3]
25-
laravel: [12.*, 11.*, 10.*]
26-
stability: [prefer-lowest, prefer-stable]
27-
include:
28-
- laravel: 12.*
29-
testbench: 10.*
30-
- laravel: 11.*
31-
testbench: 9.*
32-
- laravel: 10.*
33-
testbench: 8.*
28+
laravel: [11.*, 12.*]
29+
stability: [prefer-stable]
3430

3531
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3632

@@ -52,7 +48,7 @@ jobs:
5248
5349
- name: Install dependencies
5450
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51+
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
5652
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5753
5854
- name: List Installed Dependencies

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
"require": {
1919
"php": "^8.3",
2020
"spatie/laravel-package-tools": "^1.16",
21-
"illuminate/contracts": "^10.0||^11.0||^12.0"
21+
"illuminate/contracts": "^11.0||^12.0"
2222
},
2323
"require-dev": {
2424
"laravel/pint": "^1.14",
25-
"nunomaduro/collision": "^8.1.1||^7.10.0",
26-
"larastan/larastan": "^2.9||^3.0",
27-
"orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0",
25+
"nunomaduro/collision": "^8.1.1",
26+
"larastan/larastan": "^3.0",
27+
"orchestra/testbench": "^9.0.0||^10.0.0",
2828
"pestphp/pest": "^3.0",
2929
"pestphp/pest-plugin-arch": "^3.0",
3030
"pestphp/pest-plugin-laravel": "^3.0",

0 commit comments

Comments
 (0)