Skip to content

Commit

Permalink
Laravel 10 and enhancements for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nedwors committed Mar 19, 2024
1 parent f69d8e5 commit 2434199
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 48 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/cs.yml

This file was deleted.

25 changes: 7 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
laravel: [ '8.*', '9.*', '10.*', '11.*' ]
php: [ '8.1', '8.2', '8.3' ]
laravel: [ '10.*', '11.*' ]
stability: [ prefer-stable ]
include:
- laravel: '11.*'
testbench: '9.*'
- laravel: '10.*'
testbench: '8.*'
- laravel: '9.*'
testbench: '7.*'
- laravel: '8.*'
testbench: '^6.24'
exclude:
- laravel: 9.*
php: 7.4
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

Expand All @@ -58,5 +44,8 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Run Pest
run: php vendor/bin/pest
- name: Check Code Style
run: composer test:lint

- name: Run Tests
run: composer test:parallel
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
}
},
"require": {
"php": "^8.2|^8.3",
"illuminate/support": "^11.0"
"php": "^8.1|^8.2|^8.3",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"ext-soap": "*",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^9.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"phpoption/phpoption": "^1.8.1",
"spatie/ray": "^1.17",
Expand Down

0 comments on commit 2434199

Please sign in to comment.