1
0
Fork 0
mirror of https://github.com/archtechx/gloss.git synced 2025-12-12 11:14: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: 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)

View file

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