mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
wip
This commit is contained in:
parent
17cde4c15e
commit
b9b1feb45b
2 changed files with 14 additions and 9 deletions
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
|
|
@ -14,19 +14,24 @@ on:
|
|||
jobs:
|
||||
phpunit:
|
||||
name: Tests (PHPUnit) L${{ matrix.laravel }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
laravel: [6, 8, 9]
|
||||
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install composer dependencies
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/phpunit
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.0'
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/phpunit
|
||||
|
||||
phpstan:
|
||||
name: Static analysis (PHPStan)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
}
|
||||
},
|
||||
"require": {
|
||||
"php": "7.2|8.0",
|
||||
"php": "7.2|8.0.14",
|
||||
"illuminate/translation": "^6.0|^8.0|^9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue