mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 11:14:04 +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
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
matrix:
|
||||
laravel: [6, 8]
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
|
@ -18,7 +21,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install composer dependencies
|
||||
run: composer install
|
||||
run: composer require "laravel/framework:^{{matrix.laravel}}.0.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/phpunit
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue