File tree Expand file tree Collapse file tree 4 files changed +42
-24
lines changed
Expand file tree Collapse file tree 4 files changed +42
-24
lines changed Original file line number Diff line number Diff line change 1+ name : PHP
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ run :
7+ runs-on : ${{ matrix.os }}
8+ strategy :
9+ max-parallel : 15
10+ fail-fast : false
11+ matrix :
12+ os : [ubuntu-latest]
13+ php : ['7.2', '7.3', '7.4']
14+ dependency-version : [prefer-lowest, prefer-stable]
15+
16+ name : PHP ${{ matrix.php }} - OS ${{ matrix.os }} - ${{ matrix.dependency-version }}
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@master
20+
21+ - name : Setup PHP
22+ uses : shivammathur/setup-php@master
23+ with :
24+ php-version : ${{ matrix.php }}
25+ extension-csv : mbstring, xdebug
26+ coverage : pcov
27+
28+ - name : Install dependencies
29+ run : composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
30+
31+ - name : Lint composer.json
32+ run : composer validate
33+
34+ - name : Run Tests
35+ run : vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
36+
37+ - name : Upload Coverage to Scrutinizer
38+ run : |
39+ wget https://scrutinizer-ci.com/ocular.phar
40+ php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33[ ![ Latest Version on Packagist] ( https://img.shields.io/packagist/v/laravel-notification-channels/discord.svg?style=flat-square )] ( https://packagist.org/packages/laravel-notification-channels/discord )
44[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE.md )
5- [ ![ Build Status] ( https://img.shields.io/travis/ laravel-notification-channels/discord/master .svg?style=flat-square )] ( https://travis-ci.org /laravel-notification-channels/discord )
5+ [ ![ Build Status] ( https://img.shields.io/github/workflow/status/ laravel-notification-channels/discord/Tests .svg?style=flat-square )] ( https://github.com /laravel-notification-channels/discord/actions )
66[ ![ StyleCI] ( https://styleci.io/repos/65772492/shield )] ( https://styleci.io/repos/65772492 )
77[ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/laravel-notification-channels/discord.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/laravel-notification-channels/discord )
88[ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/discord/master.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/laravel-notification-channels/discord/?branch=master )
Original file line number Diff line number Diff line change 2222 <logging >
2323 <log type =" tap" target =" build/report.tap" />
2424 <log type =" junit" target =" build/report.junit.xml" />
25- <log type =" coverage-html" target =" build/coverage" charset = " UTF-8 " yui = " true " highlight = " true " />
25+ <log type =" coverage-html" target =" build/coverage" />
2626 <log type =" coverage-text" target =" build/coverage.txt" />
2727 <log type =" coverage-clover" target =" build/logs/clover.xml" />
2828 </logging >
You can’t perform that action at this time.
0 commit comments