mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 11:14: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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue