Skip to content

Commit

Permalink
added laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici authored Mar 4, 2023
1 parent 72c3884 commit 913c6b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ jobs:

strategy:
matrix:
php: ['8.0', '8.1']
laravel: [9.*]
php: ['8.0', '8.1', '8.2']
laravel: [9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
exclude:
- laravel: 10.*
php: 8.0

steps:
- name: Checkout code
Expand All @@ -32,5 +37,6 @@ jobs:
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
],
"require": {
"php": "^8.0",
"illuminate/config": "^9.0",
"illuminate/support": "^9.0",
"illuminate/view": "^9.0",
"illuminate/config": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"illuminate/view": "^9.0|^10.0",
"laravelcollective/html": "^6.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.12",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^7.11",
"orchestra/testbench": "^7.4|^8.0",
"phpunit/phpunit": "^9.5"
},
"autoload": {
Expand All @@ -52,5 +52,7 @@
"Menu": "Akaunting\\Menu\\Facade"
}
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 913c6b1

Please sign in to comment.