mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 19:24:03 +00:00
Add version matrix for Laravel
This commit is contained in:
parent
1cc38e34aa
commit
cfcae73ee1
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -5,6 +5,9 @@ env:
|
||||||
LEAN_MYSQL_PORT: 3307
|
LEAN_MYSQL_PORT: 3307
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
laravel: [6, 8]
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
@ -18,7 +21,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: composer install
|
run: composer require "laravel/framework:^{{matrix.laravel}}.0.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