mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 15:34:04 +00:00
update matrix format
This commit is contained in:
parent
9de7d17a64
commit
8c7380af3d
1 changed files with 5 additions and 10 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -8,16 +8,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php: ["8.0", "8.1"]
|
||||
laravel: ["^9.0", "^10.0"]
|
||||
include:
|
||||
- laravel: "^9.0"
|
||||
testbench: "^7.0"
|
||||
- laravel: "^10.0"
|
||||
testbench: "^8.0"
|
||||
exclude:
|
||||
- laravel: "^10.0"
|
||||
php: "8.0"
|
||||
- laravel: 9
|
||||
php: 8.0
|
||||
- laravel: 10
|
||||
php: 8.1
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -32,7 +27,7 @@ jobs:
|
|||
uses: supercharge/redis-github-action@1.1.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer require "laravel/framework:${{matrix.laravel}}"
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/phpunit
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue