Skip to content

Commit 1e0fe36

Browse files
authored
Merge pull request #73 from php-http/update-build-badge
update build badge to look at github workflow
2 parents 15b11b7 + fe1fa46 commit 1e0fe36

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/Build-Test.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: Tests
12

23
# Run this workflow every time a new commit pushed to your repository
34
on:
@@ -17,7 +18,6 @@ jobs:
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 }}
@@ -82,9 +82,3 @@ jobs:
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

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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)

0 commit comments

Comments
 (0)