Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tjardoo committed Feb 19, 2025
1 parent 4749e5d commit f08cfc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ jobs:
os: [ubuntu-latest]
php: [8.2]
laravel: ['11.*', '12.*']
testbench: ['9.*', '10.*']
dependency-version: [prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: 10.*
- laravel: '11.*'
testbench: '9.*'
larastan: true
- laravel: '12.*'
testbench: '10.*'
larastan: false

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

Expand All @@ -47,6 +50,9 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
if [ "${{ matrix.larastan }}" = "true" ]; then
composer require "larastan/larastan" --dev --no-interaction --no-update
fi
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"require-dev": {
"orchestra/testbench": "^9.0|^10.0",
"larastan/larastan": "^2.0",
"larastan/larastan": "^2.0|^3.0",
"phpunit/phpunit": "^11.5|^12",
"laravel/pint": "^1.21"
},
Expand Down

0 comments on commit f08cfc0

Please sign in to comment.