File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,19 @@ jobs:
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v2
18
- - name : PHPUnit
18
+ - name : Prepare
19
19
run : |
20
20
apt update
21
21
apt install -y libzip-dev unzip
22
22
pecl install xdebug
23
23
docker-php-ext-enable xdebug
24
24
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
25
+ - name : PHPUnit
26
+ run : |
25
27
composer require orchestra/testbench:^v4 --dev
26
28
./vendor/bin/phpunit --coverage-clover coverage.xml --coverage-filter src/ tests/
29
+ - name : Lint
30
+ run : ./vendor/bin/phpcs --standard=PSR12 src/ tests/
27
31
- name : codecov
28
32
uses : codecov/codecov-action@v1
29
33
with :
Original file line number Diff line number Diff line change @@ -15,16 +15,20 @@ jobs:
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v2
18
- - name : PHPUnit
18
+ - name : Prepare
19
19
run : |
20
20
apt update
21
21
apt install -y libzip-dev unzip
22
22
pecl install xdebug
23
23
docker-php-ext-enable xdebug
24
24
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
25
+ - name : PHPUnit
26
+ run : |
25
27
composer require orchestra/testbench:^v5 --dev
26
28
./vendor/bin/phpunit --coverage-clover coverage.xml --coverage-filter src/ tests/
29
+ - name : Lint
30
+ run : ./vendor/bin/phpcs --standard=PSR12 src/ tests/
27
31
- name : codecov
28
32
uses : codecov/codecov-action@v1
29
33
with :
30
- name : laravel-6
34
+ name : laravel-7
Original file line number Diff line number Diff line change 1
1
/.idea /
2
2
/composer.lock
3
+ /coverage.xml
3
4
/vendor /
You can’t perform that action at this time.
0 commit comments