File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Laravel 8
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+ branches :
8
+ - main
9
+ jobs :
10
+ test :
11
+ name : Test
12
+ runs-on : ubuntu-20.04
13
+ container :
14
+ image : php:8.0-cli
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+ - name : Prepare
19
+ run : |
20
+ apt update
21
+ apt install -y libzip-dev unzip
22
+ pecl install xdebug
23
+ docker-php-ext-enable xdebug
24
+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
25
+ - name : PHPUnit
26
+ run : |
27
+ composer require orchestra/testbench:^v6 --dev
28
+ ./vendor/bin/phpunit --coverage-clover coverage.xml --coverage-filter src/ tests/
29
+ - name : Lint
30
+ run : ./vendor/bin/phpcs --standard=PSR12 src/ tests/
31
+ - name : codecov
32
+ uses : codecov/codecov-action@v1
33
+ with :
34
+ name : laravel-8
Original file line number Diff line number Diff line change 3
3
[ ![ codecov] ( https://codecov.io/gh/laravel-fans/laravel-lint/branch/main/graph/badge.svg )] ( https://codecov.io/gh/laravel-fans/laravel-lint )
4
4
[ ![ Laravel 6] ( https://github.com/laravel-fans/laravel-lint/workflows/Laravel%206/badge.svg )] ( https://github.com/laravel-fans/laravel-lint/actions )
5
5
[ ![ Laravel 7] ( https://github.com/laravel-fans/laravel-lint/workflows/Laravel%207/badge.svg )] ( https://github.com/laravel-fans/laravel-lint/actions )
6
+ [ ![ Laravel 8] ( https://github.com/laravel-fans/laravel-lint/workflows/Laravel%208/badge.svg )] ( https://github.com/laravel-fans/laravel-lint/actions )
6
7
7
8
Check Code Style(default PSR-12) for Laravel
8
9
You can’t perform that action at this time.
0 commit comments