File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
12
23# Run this workflow every time a new commit pushed to your repository
34on :
1718 - operating-system : ubuntu-16.04
1819 php-versions : ' 7.1'
1920 COMPOSER_FLAGS : ' --prefer-stable --prefer-lowest'
20- COVERAGE : ' true'
2121 PHPUNIT_FLAGS : ' --coverage-clover build/coverage.xml'
2222
2323 name : PHP ${{ matrix.php-versions }} - ${{ matrix.operating-system }}
8282
8383 - name : Apply tests
8484 run : composer test
85-
86- - name : Apply coverage
87- if : ${{ matrix.COVERAGE == 'true' }}
88- run : |
89- wget https://scrutinizer-ci.com/ocular.phar
90- php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml
Original file line number Diff line number Diff line change 22
33[ ![ Latest Version] ( https://img.shields.io/github/release/php-http/curl-client.svg?style=flat-square )] ( https://github.com/php-http/curl-client/releases )
44[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE )
5- [ ![ Build Status] ( https://img.shields.io/travis/ php-http/curl-client.svg?style=flat-square )] ( https://travis-ci.org /php-http/curl-client )
5+ [ ![ Build Status] ( https://img.shields.io/github/workflow/status/ php-http/curl-client/Tests .svg?style=flat-square )] ( https://github.com /php-http/curl-client/actions?query=workflow%3ATests )
66[ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/php-http/curl-client.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/php-http/curl-client )
77[ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/php-http/curl-client.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/php-http/curl-client )
88[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/php-http/curl-client.svg?style=flat-square )] ( https://packagist.org/packages/php-http/curl-client )
You can’t perform that action at this time.
0 commit comments