mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 18:44: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
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php: ["8.0", "8.1"]
|
|
||||||
laravel: ["^9.0", "^10.0"]
|
|
||||||
include:
|
include:
|
||||||
- laravel: "^9.0"
|
- laravel: 9
|
||||||
testbench: "^7.0"
|
php: 8.0
|
||||||
- laravel: "^10.0"
|
- laravel: 10
|
||||||
testbench: "^8.0"
|
php: 8.1
|
||||||
exclude:
|
|
||||||
- laravel: "^10.0"
|
|
||||||
php: "8.0"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -32,7 +27,7 @@ jobs:
|
||||||
uses: supercharge/redis-github-action@1.1.0
|
uses: supercharge/redis-github-action@1.1.0
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer require "laravel/framework:${{matrix.laravel}}"
|
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: vendor/bin/phpunit
|
run: vendor/bin/phpunit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue