-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11
1 parent
bf2c637
commit d8365f0
Showing
2 changed files
with
60 additions
and
33 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 |
---|---|---|
@@ -1,53 +1,73 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
paths-ignore: ['**/*.md'] | ||
branches: | ||
- master | ||
paths-ignore: | ||
- **/*.md | ||
pull_request: | ||
branches: [master] | ||
paths-ignore: ['**/*.md'] | ||
branches: | ||
- master | ||
paths-ignore: | ||
- **/*.md | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
laravel-versions: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0"] | ||
php-versions: ["7.2", "7.3", "7.4", "8.0", "8.1"] | ||
laravel-versions: ['11.0', ^6.0, ^7.0, ^8.0, ^9.0, ^10.0] | ||
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] | ||
exclude: | ||
- laravel-versions: "^6.0" | ||
php-versions: "8.1" | ||
- laravel-versions: "^7.0" | ||
php-versions: "8.1" | ||
- laravel-versions: "^8.0" | ||
php-versions: "7.2" | ||
- laravel-versions: "^9.0" | ||
php-versions: "7.2" | ||
- laravel-versions: "^9.0" | ||
php-versions: "7.3" | ||
- laravel-versions: "^9.0" | ||
php-versions: "7.4" | ||
- laravel-versions: "^10.0" | ||
php-versions: "7.2" | ||
- laravel-versions: "^10.0" | ||
php-versions: "7.3" | ||
- laravel-versions: "^10.0" | ||
php-versions: "7.4" | ||
- laravel-versions: "^10.0" | ||
php-versions: "8.0" | ||
- laravel-versions: ^6.0 | ||
php-versions: '8.1' | ||
- laravel-versions: ^7.0 | ||
php-versions: '8.1' | ||
- laravel-versions: ^8.0 | ||
php-versions: '7.2' | ||
- laravel-versions: ^9.0 | ||
php-versions: '7.2' | ||
- laravel-versions: ^9.0 | ||
php-versions: '7.3' | ||
- laravel-versions: ^9.0 | ||
php-versions: '7.4' | ||
- laravel-versions: ^10.0 | ||
php-versions: '7.2' | ||
- laravel-versions: ^10.0 | ||
php-versions: '7.3' | ||
- laravel-versions: ^10.0 | ||
php-versions: '7.4' | ||
- laravel-versions: ^10.0 | ||
php-versions: '8.0' | ||
- laravel-versions: '11.0' | ||
php-versions: '7.2' | ||
- laravel-versions: '11.0' | ||
php-versions: '7.3' | ||
- laravel-versions: '11.0' | ||
php-versions: '7.4' | ||
- laravel-versions: '11.0' | ||
php-versions: '8.0' | ||
- laravel-versions: '11.0' | ||
php-versions: '8.1' | ||
|
||
name: PHP ${{ matrix.php-versions }} with Laravel ${{ matrix.laravel-versions }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extensions: mbstring, dom, fileinfo | ||
|
||
- name: Install Composer dependencies | ||
run: | | ||
composer require --dev --no-progress --no-suggest -n -o "laravel/framework:${{ matrix.laravel-versions }}" | ||
composer install --no-progress --no-suggest -n -o | ||
- name: Run test suite | ||
run: composer test:dist | ||
# - name: Run test coverage | ||
# run: composer test:coverage |
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