Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,39 @@ name: run-tests
on:
workflow_dispatch:
push:
branches: [main, develop]
branches:
- main
- develop
pull_request:
branches: [main, develop]
branches:
- main
- develop

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
laravel: [9.*, 10.*]
php: [8.1, 8.2, 8.3]
laravel: ['9.*', '10.*', '11.*', '12.*']
stability: [prefer-stable]
include:
- laravel: 9.*
testbench: ^7.10
- laravel: 10.*
testbench: ^8.0
- laravel: 11.*
testbench: ^9.0
- laravel: 12.*
testbench: ^10.0
exclude:
- laravel: 11.*
php: 8.1
- laravel: 12.*
php: 8.1

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

Expand Down Expand Up @@ -50,6 +64,4 @@ jobs:
run: vendor/bin/phpunit

- name: Codecov
# You may pin to the exact commit or the version.
# uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
uses: codecov/codecov-action@v3.1.4
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
],
"require": {
"php": "^8.0|^8.1|^8.2",
"illuminate/contracts": "^8.0|^9.0|^10.0"
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0"
},
"require-dev": {
"orchestra/testbench": "^6.22|^7.0|^8.0",
"phpunit/phpunit": "^9.5|^10.0",
"orchestra/testbench": "^6.22|^7.0|^8.0|^9.0|^10.0",
"phpunit/phpunit": "^9.5|^10.0|^11.5.3",
"squizlabs/php_codesniffer": "*"
},
"autoload": {
Expand Down Expand Up @@ -52,7 +52,7 @@
"providers": [
"LucasDotVin\\Soulbscription\\SoulbscriptionServiceProvider"
],
"aliases": {}
"aliases": []
}
},
"minimum-stability": "stable",
Expand Down
Loading