Skip to content

Commit fda578c

Browse files
authored
Add support for L10, L11 and fix tests (#15)
1 parent ef62714 commit fda578c

File tree

2 files changed

+37
-14
lines changed

2 files changed

+37
-14
lines changed

.github/workflows/run-tests.yml

+29-6
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,46 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, workflow]
66
pull_request:
77
branches: [main]
88

99
jobs:
1010
test:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
13-
fail-fast: true
13+
fail-fast: false
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.0]
17-
laravel: [8.*]
15+
os: [ubuntu-latest]
16+
php: [8.0, 8.1, 8.2]
17+
laravel: [8.*, 9.*, 10.*, 11.*]
1818
stability: [prefer-stable]
19+
exclude:
20+
- laravel: 8.*
21+
php: 8.1
22+
- laravel: 8.*
23+
php: 8.2
24+
- laravel: 9.*
25+
php: 8.1
26+
- laravel: 9.*
27+
php: 8.2
28+
- laravel: 10.*
29+
php: 8.0
30+
- laravel: 10.*
31+
php: 8.2
32+
- laravel: 11.*
33+
php: 8.0
34+
- laravel: 11.*
35+
php: 8.1
1936
include:
2037
- laravel: 8.*
21-
testbench: ^6.6
38+
testbench: ^6.0
39+
- laravel: 9.*
40+
testbench: ^7.0
41+
- laravel: 10.*
42+
testbench: ^8.0
43+
- laravel: 11.*
44+
testbench: ^9.0
2245

2346
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2447

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0",
20-
"illuminate/contracts": "^8.0|^9.0|^10.0",
19+
"php": "^8.0|^8.1|^8.2",
20+
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
2121
"recombee/php-api-client": "^4.0",
2222
"spatie/laravel-package-tools": "^1.9.2"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.8",
26-
"nunomaduro/collision": "^5.3",
27-
"nunomaduro/larastan": "^1.0",
28-
"orchestra/testbench": "^6.15",
29-
"pestphp/pest": "^1.0",
30-
"pestphp/pest-plugin-laravel": "^1.2",
26+
"nunomaduro/collision": "^5.10|^6.1|^7.0|^8.1",
27+
"nunomaduro/larastan": "^1.0|^2.0",
28+
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
29+
"pestphp/pest": "^1.0|^2.0",
30+
"pestphp/pest-plugin-laravel": "^1.2|^2.0",
3131
"phpstan/extension-installer": "^1.1",
3232
"phpstan/phpstan-deprecation-rules": "^1.0",
3333
"phpstan/phpstan-phpunit": "^1.1",
34-
"phpunit/phpunit": "9.4.*",
34+
"phpunit/phpunit": "^9.5.10|^10.1|^11.0.1",
3535
"spatie/laravel-ray": "^1.26"
3636
},
3737
"autoload": {

0 commit comments

Comments
 (0)