1
0
Fork 0
mirror of https://github.com/archtechx/gloss.git synced 2025-12-12 03:04:04 +00:00
This commit is contained in:
Abrar Ahmad 2022-01-25 22:14:36 +05:00
parent 17cde4c15e
commit b9b1feb45b
2 changed files with 14 additions and 9 deletions

View file

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

View file

@ -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": {