File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
1
2
2
3
# Run this workflow every time a new commit pushed to your repository
3
4
on :
17
18
- operating-system : ubuntu-16.04
18
19
php-versions : ' 7.1'
19
20
COMPOSER_FLAGS : ' --prefer-stable --prefer-lowest'
20
- COVERAGE : ' true'
21
21
PHPUNIT_FLAGS : ' --coverage-clover build/coverage.xml'
22
22
23
23
name : PHP ${{ matrix.php-versions }} - ${{ matrix.operating-system }}
82
82
83
83
- name : Apply tests
84
84
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 2
2
3
3
[ ![ Latest Version] ( https://img.shields.io/github/release/php-http/curl-client.svg?style=flat-square )] ( https://github.com/php-http/curl-client/releases )
4
4
[ ![ 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 )
6
6
[ ![ 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 )
7
7
[ ![ 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 )
8
8
[ ![ 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