1
0
Fork 0
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:
Samuel Štancl 2023-02-16 11:41:25 +01:00 committed by GitHub
parent 9de7d17a64
commit 8c7380af3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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