mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 11:14: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:
|
jobs:
|
||||||
phpunit:
|
phpunit:
|
||||||
name: Tests (PHPUnit) L${{ matrix.laravel }}
|
name: Tests (PHPUnit) L${{ matrix.laravel }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
laravel: [6, 8, 9]
|
laravel: [6, 8, 9]
|
||||||
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout code
|
||||||
- name: Install composer dependencies
|
uses: actions/checkout@v2
|
||||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
|
||||||
- name: Run tests
|
- name: Setup PHP
|
||||||
run: vendor/bin/phpunit
|
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:
|
phpstan:
|
||||||
name: Static analysis (PHPStan)
|
name: Static analysis (PHPStan)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "7.2|8.0",
|
"php": "7.2|8.0.14",
|
||||||
"illuminate/translation": "^6.0|^8.0|^9.0"
|
"illuminate/translation": "^6.0|^8.0|^9.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue