diff --git a/.github/workflows/Build-Test.yml b/.github/workflows/Build-Test.yml index 1c0dde3..9a4ab1e 100644 --- a/.github/workflows/Build-Test.yml +++ b/.github/workflows/Build-Test.yml @@ -1,3 +1,4 @@ +name: Tests # Run this workflow every time a new commit pushed to your repository on: @@ -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 }} @@ -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 diff --git a/README.md b/README.md index fc60b7e..3cebafd 100644 --- a/README.md +++ b/README.md @@ -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)