mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
wip
This commit is contained in:
parent
be9cefd4b3
commit
6fca70a61d
2 changed files with 14 additions and 6 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -17,13 +17,21 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
laravel: [6, 8, 9]
|
||||
include:
|
||||
- laravel: 6
|
||||
testbench: ^4.0
|
||||
- laravel: 8
|
||||
testbench: ^6.0
|
||||
- laravel: 9
|
||||
testbench: ^7.0
|
||||
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install composer dependencies
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0" "orchestra/testbench:${{ matrix.testbench }}"
|
||||
- name: Run tests
|
||||
run: vendor/bin/phpunit
|
||||
|
||||
|
|
@ -46,7 +54,7 @@ jobs:
|
|||
- name: Install php-cs-fixer
|
||||
run: composer global require friendsofphp/php-cs-fixer
|
||||
- name: Run php-cs-fixer
|
||||
run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php_cs.php
|
||||
run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php
|
||||
- name: Commit changes from php-cs-fixer
|
||||
uses: EndBug/add-and-commit@v5
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@
|
|||
}
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"illuminate/translation": "^6.0||^8.0||^9.0"
|
||||
"php": "^7.2|^8.0",
|
||||
"illuminate/translation": "^6.0|^8.0|^9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^4.0||^6.0||^7.0",
|
||||
"orchestra/testbench": "^4.0|^6.0|^7.0",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"nunomaduro/larastan": "^0.6.11"
|
||||
"nunomaduro/larastan": "^1.0"
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue