Skip to content

Commit bb0f12a

Browse files
authored
Merge pull request #265 from milwad-dev/fix-run-tests-workflow
Update Tests workflow
2 parents 81a8911 + dd4974d commit bb0f12a

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,25 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.2, 8.1]
17-
laravel: [10.*]
16+
php: [8.3, 8.2, 8.1]
17+
laravel: [11.*, 10.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 11.*
21+
testbench: 9.*
22+
carbon: ^3.2
23+
laravel-package-tools: ^1.16.4
24+
collision: ^8.1.1
25+
2026
- laravel: 10.*
2127
testbench: 8.*
2228
carbon: ^2.63
29+
laravel-package-tools: ^1.16.4
30+
collision: 7.*
31+
32+
exclude:
33+
- laravel: 11.*
34+
php: 8.1
2335

2436
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2537

@@ -41,7 +53,7 @@ jobs:
4153
4254
- name: Install dependencies
4355
run: |
44-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
56+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" "spatie/laravel-package-tools:${{ matrix.laravel-package-tools }}" "nunomaduro/collision:${{ matrix.collision }}" --no-interaction --no-update
4557
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4658
4759
- name: List Installed Dependencies

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^8.1",
2020
"illuminate/contracts": "^10.0|^11.0",
21-
"spatie/laravel-package-tools": "^1.14.0",
21+
"spatie/laravel-package-tools": "^1.16.4",
2222
"symfony/finder": "^6.2|^7.0"
2323
},
2424
"require-dev": {

0 commit comments

Comments
 (0)