Skip to content

Commit

Permalink
Merge pull request #73 from php-http/update-build-badge
Browse files Browse the repository at this point in the history
update build badge to look at github workflow
  • Loading branch information
dbu authored Dec 16, 2020
2 parents 15b11b7 + fe1fa46 commit 1e0fe36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/Build-Test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Tests

# Run this workflow every time a new commit pushed to your repository
on:
Expand All @@ -17,7 +18,6 @@ jobs:
- operating-system: ubuntu-16.04
php-versions: '7.1'
COMPOSER_FLAGS: '--prefer-stable --prefer-lowest'
COVERAGE: 'true'
PHPUNIT_FLAGS: '--coverage-clover build/coverage.xml'

name: PHP ${{ matrix.php-versions }} - ${{ matrix.operating-system }}
Expand Down Expand Up @@ -82,9 +82,3 @@ jobs:

- name: Apply tests
run: composer test

- name: Apply coverage
if: ${{ matrix.COVERAGE == 'true' }}
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/github/release/php-http/curl-client.svg?style=flat-square)](/~https://github.com/php-http/curl-client/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/travis/php-http/curl-client.svg?style=flat-square)](https://travis-ci.org/php-http/curl-client)
[![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)
[![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)
[![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)
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/curl-client.svg?style=flat-square)](https://packagist.org/packages/php-http/curl-client)
Expand Down

0 comments on commit 1e0fe36

Please sign in to comment.