-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: annotate mock type * chore: support laravel 11 * chore: run ci tests for laravel 11 * feat: Support different database testing traits across Laravel versions * fix: testbench version configs * feat: remove unnecessary traits
- Loading branch information
1 parent
e0519ab
commit d85eaeb
Showing
9 changed files
with
1,296 additions
and
1,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,13 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php: [7.3, 7.4, 8.0, 8.1, 8.2] | ||
laravel: [7.*, 8.*, 9.*, 10.*] | ||
laravel: [7.*, 8.*, 9.*, 10.*, 11.*] | ||
dependency-versions: [prefer-stable] | ||
include: | ||
- laravel: 11.* | ||
testbench: 9.* | ||
- laravel: 10.* | ||
testbench: 10.* | ||
testbench: 8.* | ||
- laravel: 9.* | ||
testbench: 7.* | ||
- laravel: 8.* | ||
|
@@ -30,26 +32,34 @@ jobs: | |
|
||
- php: 8.1 | ||
laravel: 7.* | ||
- php: 8.1 | ||
laravel: 11.* | ||
|
||
- php: 8.0 | ||
laravel: 10.* | ||
- php: 8.0 | ||
laravel: 11.* | ||
|
||
- php: 7.4 | ||
laravel: 9.* | ||
- php: 7.4 | ||
laravel: 10.* | ||
- php: 7.4 | ||
laravel: 11.* | ||
|
||
- php: 7.3 | ||
laravel: 9.* | ||
- php: 7.3 | ||
laravel: 10.* | ||
- php: 7.3 | ||
laravel: 11.* | ||
|
||
|
||
name: PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }} / ${{ matrix.dependency-versions }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP, with composer and extensions | ||
uses: shivammathur/setup-php@v2 | ||
|
@@ -64,7 +74,7 @@ jobs: | |
id: composer_cache | ||
|
||
- name: Cache composer dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: ${{ steps.composer_cache.outputs.COMPOSER_CACHE_DIR }} | ||
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/.vscode | ||
/vendor | ||
.DS_Store | ||
.phpunit.cache | ||
.phpunit.result.cache | ||
phpunit.xml | ||
yarn.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.